Gdb
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 22: | Line 22: | ||
|- | |- | ||
| <code>next</code> || step over the current line | | <code>next</code> || step over the current line | ||
+ | |- | ||
+ | | <code>fin</code> || step out | ||
|- | |- | ||
| <code>cont</code> || continue execution | | <code>cont</code> || continue execution | ||
|} | |} |
Revision as of 11:43, 29 September 2014
Useful GDB commands...
Command | Description |
---|---|
bt or backtrace |
show a backtrace from the current location |
frame <frameno> |
move to a different stack frame |
- | - |
info threads |
list of running threads |
thread <threadno> |
switch to a different thread |
- | - |
info breakpoints |
list of breakpoints |
break <file>:<lineno> |
set a breakpoint |
step |
step into the current line |
next |
step over the current line |
fin |
step out |
cont |
continue execution |