[英]how can I de-reference a memory address in GDB?
I have the following line in gdb我在 gdb 中有以下行
8048dc2 movl $0x8049a35, 0x4(%esp)
I want to know how to de-reference the address $0x8049a35 so I can figure out what it is, how do I do that in GDB?我想知道如何取消引用地址 $0x8049a35 以便我可以弄清楚它是什么,我该如何在 GDB 中做到这一点?
You can for example use x 0x8049a35
.例如,您可以使用
x 0x8049a35
。 You can also choose a format, see the gdb built-in help.您还可以选择一种格式,请参阅 gdb 内置帮助。 I am puzzled why you didn't read that before asking on SO.
我很困惑为什么你在问 SO 之前没有读过。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.