Skip to content

Commit 029e6b7

Browse files
committed
Create gdb-20-commands.txt
1 parent 3164b69 commit 029e6b7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

gdb-20-commands.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
run -- Start debugged program.
2+
3+
break -- Set breakpoint at specified location.
4+
next -- Step program, proceeding through subroutine calls.
5+
list -- List specified function or line.
6+
print -- Print value of expression EXP.
7+
8+
up -- Select and print stack frame that called this one.
9+
down -- Select and print stack frame called by this one.
10+
11+
display -- Print value of expression EXP each time the program stops.
12+
undisplay -- Cancel some expressions to be displayed when program stops.
13+
14+
backtrace -- Print backtrace of all stack frames, or innermost COUNT frames.
15+
16+
step -- Step program until it reaches a different source line.
17+
continue -- Continue program being debugged, after signal or breakpoint.
18+
finish -- Execute until selected stack frame returns.
19+
20+
watch -- Set a watchpoint for an expression.
21+
22+
info breakpoints -- Status of specified breakpoints (all user-settable breakpoints if no argument).
23+
delete breakpoints -- Delete all or some breakpoints or auto-display expressions.
24+
25+
whatis -- Print data type of expression EXP.
26+
27+
target record-full -- Log program while executing and replay execution from log.
28+
reverse-next -- Step program backward, proceeding through subroutine calls.
29+
set var -- Evaluate expression EXP and assign result to variable VAR.

0 commit comments

Comments
 (0)