DeBUG
with GDB
<< CONTENTS
>>
ALIASES MAN PAGES
ALIASE
Aliases of other commands.
COMMANDS
delete
breakpoints
disable
breakpoints
ni
si
stepping
tp
where
ws
delete
breakpoints
Delete some breakpoints or auto-display expressions.
Arguments are breakpoint numbers with spaces in
between.
To delete all breakpoints, give no argument.
This command may be
abbreviated "delete".
disable
breakpoints
Disable some breakpoints.
Arguments are breakpoint numbers with spaces in
between.
To disable all breakpoints, give no argument.
A disabled breakpoint is not forgotten, but has no
effect until reenabled.
This command may be
abbreviated "disable".
ni
Step one instruction, but proceed through subroutine
calls.
Argument N means do this N times (or till program
stops for another reason).
si
Step one instruction exactly.
Argument N means do this N times (or till program
stops for another reason).
stepping
Specify single-stepping behavior at a tracepoint.
Argument is number of instructions to trace in
single-step mode
following the tracepoint. This command is
normally followed by
one or more "collect" commands, to specify what to
collect
while single-stepping.
This command can
only be used in a tracepoint "actions" list.
tp
Set a tracepoint at a specified line or function or address.
Argument may be a line number, function name, or '*'
plus an address.
For a line number or function, trace at the start of
its code.
If an address is specified, trace at that exact
address.
Do
"help tracepoints" for info on other tracepoint commands.
where
Print backtrace of all stack frames, or innermost
COUNT frames.
With a negative argument, print outermost -COUNT
frames.
Use
of the 'full' qualifier also prints the values of the local variables.
ws
Specify single-stepping behavior at a tracepoint.
Argument is number of instructions to trace in
single-step mode
following the tracepoint. This command is
normally followed by
one or more "collect" commands, to specify what to
collect
while single-stepping.
This
command can only be used in a tracepoint "actions" list.
MAN ALIASES
Muthukumar Kandasamy <[email protected]>