DeBUG
with GDB
<< CONTENTS
>>
SUPPORT MAN
PAGES
SUPPORT
Support facilities.
COMMANDS
apropos
browse
define
document
dont-repeat
down-silently
echo
edit
help
if
info
architecture
make
overlay
overlay auto
overlay
list-overlays
overlay
load-target
overlay manual
overlay
map-overlay
overlay off
overlay
unmap-overlay
quit
redirect
apropos
Search for commands matching a REGEXP
browse
List if argument is a procedure. Ptype otherwise.
define
Define a new command name. Command name is argument.
Definition appears on following lines, one command per line.
End with a line of just "end".
Use the "document" command to give documentation for the new
command.
Commands defined in this way may have up to ten arguments.
document
Document a user-defined command.
Give command name as argument. Give documentation on
following lines.
End with a line of just "end".
dont-repeat
Don't repeat this command.
Primarily used inside of user-defined commands that should not
be repeated when
hitting return.
down-silently
Same as the `down' command, but
does not print anything.
This is useful in command scripts.
echo
Print a constant string. Give string as argument.
C escape sequences may be used in the argument.
No newline is added at the end of the argument;
use "\n" if you want a newline to be printed.
Since leading and trailing whitespace are ignored in command
arguments,
if you want to print some you must use "\" before leading
whitespace
to be printed or after trailing whitespace.
edit
Run the editor (specified by $EDITOR) on the current source file.
help
Print list of commands.
if
Execute nested commands once IF the conditional expression is
non zero.
The conditional expression must follow the word `if' and must in
turn be
followed by a new line. The nested commands must be
entered one per line,
and should be terminated by the word 'else' or `end'. If
an else clause
is used, the same rules apply to its nested commands as to the
first ones.
info
architecture
List supported target architectures
make
Run the ``make'' program using the rest of the line as arguments.
overlay
Commands for debugging overlays.
Subcommands
overlay auto -- Enable
automatic overlay debugging
overlay list-overlays
-- List mappings of overlay sectioons
overlay load-target --
Read the overlay mapping state from the target
overlay manual --
Enable overlay debugging
overlay map-overlay --
Assert that an overlay section is mapped
overlay off -- Disable
overlay debugging
overlay unmap-overlay
-- Assert that an overlay section is unmapped
quit
Exit gdb.
redirect
Redirect the output of a single command to the redirect file
[Also see 'set redirect']
Support help
page
Muthukumar Kandasamy <[email protected]>