finding register to variable mapping at a specific address
Cibu.Johny@utstar.com
Cibu.Johny@utstar.com
Tue Jul 27 15:49:00 GMT 2004
Hi,
I would like to know whether it is possible to find the mapping between the
variables and registers at a specific address. As an example please see
following 'objdump' output:
../../src/ppp_stub.c:120
do_hex_event = FALSE;
54d394: 3a 40 00 00 li r18,0
../../src/ppp_stub.c:121
if (p_link != NULL && p_link->num_traces > 0)
54d398: 2c 1f 00 00 cmpwi r31,0
54d39c: 41 82 00 14 beq- 54d3b0 <ppp_tracepkt+0x4c>
54d3a0: 81 9f 05 74 lwz r12,1396(r31)
54d3a4: 2c 0c 00 00 cmpwi r12,0
54d3a8: 40 81 00 08 ble- 54d3b0 <ppp_tracepkt+0x4c>
I would like to know for which variables registers r12 and r31 stands for at the address 54d3a4.
Is this possible at all with binutils? If yes, please let me know how.
thanks,
Cibu
More information about the Binutils
mailing list