[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] How to set the result of "x/1xw 0x<address>" to a gdb variable ??
From: |
James Yu |
Subject: |
[Gdb] How to set the result of "x/1xw 0x<address>" to a gdb variable ?? |
Date: |
Thu, 24 Mar 2005 22:11:17 +0800 |
Hi all,
I am stuck at the middle of no where, please help me out. This is the problem:
I can get the content of certain memory address with the command
"x/nfu <address>", but I am having trouble of saving the return value
to a gdb variable (say $returnVal).
eg.
(gdb) x/1xw $pde_ptr
0x37c000: 0x003b1027
(gdb) set $tmp = x/1xw $pde_ptr
Invalid number "1xw"
Is it even possible of doing that ??
Thanks in advance,
--
James Yu (游家慶)
+886-932-353-055
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] How to set the result of "x/1xw 0x<address>" to a gdb variable ??,
James Yu <=