Cheat Sheet

Revision as of 13:13, 18 May 2018 by Dmina (talk | contribs)

Gnu Debugger (gdb)

## Navigation
info functions
info variables
info scope <function name>

## Debugging
# Set a breakpoint
break *_start

# Move forward / step
move
m
step
s

nm / Name List

## Symbol Types
A: Absolute Type
B: In the uninitialized data section (BSS)
D: In the initialized data section
N: Debugging Symbol
T: In the text section
U: Undefined symbol