Difference between x and p in gdb? Difference between x and p in gdb? unix unix

Difference between x and p in gdb?


x shows you the contents of a memory address

p shows you the value stored in a named variable

info registers and info frame shows you registers and what they're doing.