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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -