pulling DWARF info from GDB
K Jski
bielsk1@vt.edu
Wed Jun 17 21:32:00 GMT 2015
Thanks for the quick response
I have actually come across both resources actually, and thanks to the
tutorial at dwarfstd.org, I do understand more about the dwarf syntax
and its significance to give me everything I want.
As for libdwarf, I noticed that the library has 0 downloads in its
history for all time (since it was released in 2012), which leads me
to be a little bit suspicious. Do you have any experience with this
library/developer to suggest it??
Sincerely,
C Jelesnianski
Graduate Student @ Virginia Tech
On Wed, Jun 17, 2015 at 5:18 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>> Could someone explain what objects/containers/things hold this info
>> and what functions populate these structures with the DWARF info? This
>> would save me a lot of trouble of writing my own parser,
>
> Rather than writing your own parser, or trying to adapt the one from
> GDB or gold, I'd encourage you to take a look at libdwarf:
>
> http://www.prevanders.net/dwarf.html
>
> There's also a good tutorial on the DWARF format at dwarfstd.org:
>
> http://dwarfstd.org/doc/Debugging%20using%20DWARF-2012.pdf
>
> -cary
More information about the Binutils
mailing list