The GDB command language contains many set
and show
commands. These commands are used to modify or examine parameters to
the debugger.
It is difficult to get the current state of a parameter from the
show
command because show
is very verbose.
(gdb) show check type Type checking is "auto; currently off". (gdb) show width Number of characters gdb thinks are in a line is 80.
For every show
command, libgdb includes a view
command.
view
is like show
without the verbose commentary:
(gdb) view check type auto; currently off (gdb) view width 80
(The precise format of the ouput from view
is subject to change.
In particular, view
may one-day print values which can be used as
arguments to the corresponding set
command.)
Go to the first, previous, next, last section, table of contents.