Date: Sat, 23 Jun 2001 11:06:40 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: snowball3 AT bigfoot DOT com Message-Id: <9003-Sat23Jun2001110639+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3B338317.508.4ACF68@localhost> (snowball3@bigfoot.com) Subject: Re: latest rhide and dwarf2 References: <3B338317 DOT 508 DOT 4ACF68 AT localhost> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Mark E." > Date: Fri, 22 Jun 2001 17:40:39 -0400 > > > if (dwarf2_has_info (abfd)) > > { > > /* DWARF 2 sections */ > > dwarf2_build_psymtabs (objfile, mainline); > > } > > I added this to coffread.c and built a gdb snapshot (a first for me). Then I > ran into one additional problem. > > gdb aborts because 'bfd_get_sign_extended_vma' is defined only for elf. I > changed that function to return 1 instead of returning an error. After I re- > built gdb, I was able to set a breakpoint in a sample program and step > through the program. > > So for gdb to support dwarf2 debugging, the coff symbol reading routined > needs to read in the dwarf2 info when present and 'bfd_get_sign_extended_vma' > needs work to support coff. Please send the patches you think are necessary to gdb-patches AT sources DOT redhat DOT com, with an [RFA] in the subject, and ask for the approval of the respective maintainers of the files you touched. Thanks!