Could anyone please give me a quick overview/point me to documentation of a way to inspect the stack (and heap?) of a C program? I thought this should be done with GDB, but if t
View stack: gdb> backtrace
gdb> backtrace
View current stack frame: gdb> info frame
gdb> info frame
View arguments of current stack frame: gdb> info args
gdb> info args
View local variable of current stack frame: gdb> info locals
gdb> info locals
Navigate to parent stack frame: gdb> frame 1
gdb> frame 1
Examining the Stack