For reference, the list is located here. Use help or h in gdb to learn more. In the following, I'll just use the term current frame to refer to whatever point this is. Whenever the command prompt appears, you have available the following commands. Commands to use when GDB is stopped h elp command Provide a brief description of a gdb command or topic.
Plain help lists the possible topics.
The commands bt and backtrace are synonyms. You will need to do several up s to get to the last point in your program that was actually executing. Undoes the effect of up . Each time you use this command, gdb numbers its response for future reference. Omit N to remove all displays.