gdb> list
show current location and surrounding lines
gdb> info
show info on various attributes:
local - local variables
args - arguments to current stack frame
gdb> print
print variables etc… ex:
print pHead->val // val
print *pHead // address
gdb> bt
backtrace
gdb> up/down
move up/down N stackframes to analyze state
gdb> break or
set a break point on a line or start of a function
gdb> help
help and then a word to get help with that command
gdb> delete
delete all break points (or specify one as arg)
gdb> n
step to next line (skip over, not into)
gdb> s
step to next command (into, not over)