This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pulling DWARF info from GDB


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]