Difference between revisions of "Cheat Sheet"

m (Gnu Debugger (gdb))
m (Gnu Debugger (gdb))
Line 1: Line 1:
 
== Gnu Debugger (gdb)  ==
 
== Gnu Debugger (gdb)  ==
* info functions
+
<syntaxhighlight  lang=shell-session highlight="" line>
* info variables
+
# Navigation
* info scope <function name>
+
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 17: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