From: "Mark E." To: djgpp-workers AT delorie DOT com, eli Zaretskii Date: Fri, 22 Jun 2001 17:40:39 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: latest rhide and dwarf2 Message-ID: <3B338317.508.4ACF68@localhost> In-reply-to: <3B337C68.28282.30B172@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 > 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. Mark