Collecting description of types from symbol table
Vimal
j.vimal@gmail.com
Tue Mar 6 23:16:00 GMT 2012
Hi Tom,
On 5 March 2012 08:36, Tom Tromey <tromey@redhat.com> wrote:
>
> Usually it is stored in DWARF format.
> See http://dwarfstd.org/
>
> Iterating over all the types, in gdb, is not trivial.
> It could be done but you will have to write some C code to do it.
DWARF standard pointed me to dwarfdump, which seems to dump the type
information stored in an object file.
> The 7 dwarves project would be an ok place to start for this though.
> pahole nearly does it already.
pahole is interesting, but it looks like its repository on kernel.org
is down. I'll contact the author.
Thanks!
--
Vimal
More information about the Gdb
mailing list