how does gdb extract symbol table information from binary files?
Ramana Radhakrishnan
ramana.radhakrishnan@codito.com
Fri Jul 16 17:59:00 GMT 2004
> Hello,
>
> Could someone please help me understand how gdb fishes symbol table
> information when asked to print a struct value? I tried working my way
> down print_command_1(), but didn't succeed.
Or do you mean type information ? The symbol information can minimally be
gleaned from the ELF headers. The type information and the association of
a variable / address with a type would come from the debug info in
whatever form that might be.
cheers
Ramana
----
Ramana Radhakrishnan
GNU Tools
(codito ergo sum) www.codito.com
More information about the Gdb
mailing list