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> | |
− | + | # Navigation | |
− | + | info functions | |
+ | info variables | ||
+ | info scope <function name> | ||
+ | |||
+ | ### debugging | ||
+ | # Set a breakpoint | ||
+ | break *_start | ||
+ | |||
+ | # Move forward / step | ||
+ | move | ||
+ | m | ||
+ | step | ||
+ | s | ||
+ | </syntaxhighlight> |
Revision as of 16:17, 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