gdb foo
gdb foo core
gdb foo pid
set args -- for foo with parameters
r[un] | Run to next breakpoint or to end |
s[tep] | Single-step, descending into functions |
n[ext] | Single-step without descending into functions |
fin[ish] | Finish current function, loop, etc. (useful!) |
c[ontinue] | Continue to next breakpoint or end |