Right now I've been using GDB to disassemble a binary file and check out different registers and whatnot. Is there an easy command to examine everything on the stack? Can this be limited to everything in a function?
相关问题
- How to compile C++ code in GDB?
- Invoke and control GDB from c++
- Don't want netbeans debugger to go to disassem
- Ada beginner Stack program
- Setting application affinity in gdb
相关文章
- Threading in C# , value types and reference types
- How to handle all signals in GDB
- Stack<> implementation in C#
- Embedding a program's source code into its bin
- Java, Printing the stack values
- Is there a stack space for every thread?
- Why are there no debug symbols in my vmlinux when
- can't debug small program on eclipse helios cd
For the current stack frame:
bt
(orbacktrace
) will give you a call stack.frame <args>
will give you information about a specific frame from the stack.info locals
can give you information about any local variables on the stack.You can view the contents of the stack with
x/10x $sp
This will print the top 10 elements of the stack.