This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: finding register to variable mapping at a specific address


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.


Cheers
  Nick


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