Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

The -gdb-set command
Synopsis
-gdb-set
Set an internal GDB variable.
GDB command
The corresponding GDB command is 'set'.
Example
(gdb)
-gdb-set $foo=3
^done
(gdb)
The -gdb-show command
Synopsis
-gdb-show
Show the current value of a GDB variable.
GDB command
The corresponding GDB command is 'show'.
Example
(gdb)
-gdb-show annotate
^done,value="0"
(gdb)
The -gdb-version command
Synopsis
-gdb-version
Show version information for GDB. Used mostly in testing.
GDB command
The corresponding GDB command is 'show version'.
Example
(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".
270 The GDB/MI Interface