This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: DWARF-related warnings in DJGPP build of GDB
> Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 15 Apr 2009 13:47:45 -0600
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Pedro> You could try dumping the DWARF data if you have a tool that does that
> Pedro> on your system.
>
> Eli> What tools can do that? Is there a way of doing this with Binutils?
>
> You can use objdump -W or readelf -w (if DJGPP uses ELF) to dump debug
> info.
Thanks. readelf is out, because DJGPP uses COFF. "objdump -W" (with
a recent enough Binutils ;-) seems to do the job, thanks. How to use
the info it dumps on me to track down my particular problems is
another matter. Hmmm...