finding register to variable mapping at a specific address

Nick Clifton
Thu Jul 29 13:32:00 GMT 2004

Hi Cibu,

> I would like to know whether it is possible to find the mapping between the
> variables and registers at a specific address. 

This is what debug information does.  It is not the responsibility of 
the binutils but rather the compiler to generate the appropriate 
information.  The binutils tools objdump and readelf can be used to 
display generated debug information in a very basic format, but you will 
probably want to use a tool like GDB to actually process this information.


More information about the Binutils mailing list