[Dwarf-Discuss] Register Variable Values?

Michael Eager eager@eagercon.com
Mon Apr 28 16:34:30 GMT 2008

ashim saikia wrote:
> Hi,
> Is there any way to get the value of a variable stored in register in 
> ARM arct. using dwarf information.... Ofcourse dwarf tells us the 
> variable is in register. But to get the value we need to take help of 
> frame pointer. So in stack frame,
> is there any specific location that holds the register values (ARM arct.).
> For Intel arct., it is there.....

DWARF can contain information on where registers are saved in
a stack frame, but it appears that compilers often don't generate
this info for all saved registers.

This may be an area where you need to know the processor/system
ABI or the convention that the compiler uses to save regs.

Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

More information about the Dwarf-discuss mailing list