This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]