Reputation: 353
I want to inspect address in GDB . There is address in r0 register that I want to inspect:
(r0+10)->64
How can I do that in 1 line using gdb?
Upvotes: 2
Views: 2086
Reputation: 320
In gdb command line: x/16xw 0x1000
16: blocks
x: in hexadecimal
w: word(32bit)
0x1000: address of memory
Upvotes: 2