Table of Contents

Command Does:
step Step to next executed line (regardless of function)
next Continue until next line in current function
finish Finish this function and return to next function up in stack
bt (backtrace) Print stack trace
list Print surrounding code of current line
print x Print value of variable x
delete Delete all breakpoints
start Starts all threads, but breaks at first line or something. Useful for VectorCast
break <function name, file name:line number, etc.> Lots of options, really useful for VectorCast
x /20xb 0xfeed Print 20 bytes around location 0xfeed

Pressing <ENTER> with blank line repeats previous command.

Run GDB in TUI mode: gdb -tui, then <Ctrl>+x 2 which enables assembly and code view mode. <Ctrl>+x o switches the views. More info here