Whole document tree
19.8 Miscellaneous GDB commands in GDB/MI The
|
-gdb-exit |
Exit GDB immediately.
Approximately corresponds to `quit'.
(gdb) -gdb-exit |
-gdb-set
Command
-gdb-set |
Set an internal GDB variable.
The corresponding GDB command is `set'.
(gdb) -gdb-set $foo=3 ^done (gdb) |
-gdb-show
Command
-gdb-show |
Show the current value of a GDB variable.
The corresponding GDB command is `show'.
(gdb) -gdb-show annotate ^done,value="0" (gdb) |
-gdb-version
Command
-gdb-version |
Show version information for GDB. Used mostly in testing.
There's no equivalent GDB command. GDB by default shows this information when you start an interactive session.
(gdb) -gdb-version ~GNU gdb 5.2.1 ~Copyright 2000 Free Software Foundation, Inc. ~GDB is free software, covered by the GNU General Public License, and ~you are welcome to change it and/or distribute copies of it under ~ certain conditions. ~Type "show copying" to see the conditions. ~There is absolutely no warranty for GDB. Type "show warranty" for ~ details. ~This GDB was configured as "--host=sparc-sun-solaris2.5.1 --target=ppc-eabi". ^done (gdb) |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |