Difference between revisions of "Cheat Sheet"
m (→Gnu Debugger (gdb)) |
m (→Gnu Debugger (gdb)) |
||
Line 1: | Line 1: | ||
== Gnu Debugger (gdb) == | == Gnu Debugger (gdb) == | ||
<syntaxhighlight lang=shell-session highlight="" line> | <syntaxhighlight lang=shell-session highlight="" line> | ||
− | # Navigation | + | ## Navigation |
info functions | info functions | ||
info variables | info variables | ||
info scope <function name> | info scope <function name> | ||
− | ## | + | ## Debugging |
# Set a breakpoint | # Set a breakpoint | ||
break *_start | break *_start |
Revision as of 16:18, 17 May 2018
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