x86 64 - In GDB how do I print 0xc(%rsp)? -


i'm trying debug code project , i've come against line cmpl $0x7,0xc(%rsp). 0xc(%rsp), , how print it?

what 0xc(%rsp)

the memory location 12 bytes above current stack pointer. value @ location being compared 7.

and how print it?

(gdb) print $rsp+0xc 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -