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? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -