how does gdb extract symbol table information from binary files?

Charlls Quarra charlls_quarra@yahoo.com.ar
Fri Jul 16 20:08:00 GMT 2004


--- 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



More information about the Gdb mailing list