This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: how does gdb extract symbol table information from binary files?
- From: Charlls Quarra <charlls_quarra at yahoo dot com dot ar>
- To: gdb at sources dot redhat dot com
- Date: Fri, 16 Jul 2004 16:59:37 -0300 (ART)
- Subject: Re: how does gdb extract symbol table information from binary files?
--- Ramana Radhakrishnan
<ramana.radhakrishnan@codito.com> escribió: >
>
> 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.
but i assume they want to know how the debugger gets
type/mangled symbol information, so they can use
something similar during runtime, avoiding stuff like
RTTI (maybe a fixed offset from the function address
there is the symbol as a ascii string?)
cheers
___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar