How can I examine the stack frame with GDB? January 23, 2023 by Tarik You can view the contents of the stack with x/10x $sp This will print the top 10 elements of the stack.