Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* how does gdb extract symbol table information from binary files?
@ 2004-07-15 23:43 Rohit Grover
  0 siblings, 0 replies; 3+ messages in thread
From: Rohit Grover @ 2004-07-15 23:43 UTC (permalink / raw)
  To: gdb

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.

thanks,
Rohit.


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: how does gdb extract symbol table information from binary  files?
@ 2004-07-16 17:59 Ramana Radhakrishnan
  2004-07-16 20:08 ` Charlls Quarra
  0 siblings, 1 reply; 3+ messages in thread
From: Ramana Radhakrishnan @ 2004-07-16 17:59 UTC (permalink / raw)
  To: Rohit Grover; +Cc: gdb


> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-16 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15 23:43 how does gdb extract symbol table information from binary files? Rohit Grover
2004-07-16 17:59 Ramana Radhakrishnan
2004-07-16 20:08 ` Charlls Quarra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox