Skip to content

Commit aa14d57

Browse files
committedNov 20, 2021
Update gdb-20-commands.txt
1 parent 0e6021e commit aa14d57

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed
 

‎gdb-20-commands.txt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
run -- Start debugged program.
1+
run - Start debugged program.
22

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.
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.
77

8-
up -- Select and print stack frame that called this one.
9-
down -- Select and print stack frame called by this one.
8+
up - Select and print stack frame that called this one.
9+
down - Select and print stack frame called by this one.
1010

11-
display -- Print value of expression EXP each time the program stops.
12-
undisplay -- Cancel some expressions to be displayed when program stops.
11+
display - Print value of expression EXP each time the program stops.
12+
undisplay - Cancel some expressions to be displayed when program stops.
1313

14-
backtrace -- Print backtrace of all stack frames, or innermost COUNT frames.
14+
backtrace - Print backtrace of all stack frames, or innermost COUNT frames.
1515

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.
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.
1919

20-
watch -- Set a watchpoint for an expression.
20+
watch - Set a watchpoint for an expression.
2121

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.
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.
2424

25-
whatis -- Print data type of expression EXP.
25+
whatis - Print data type of expression EXP.
2626

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.
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)