Next: Other Misc Settings, Previous: Messages/Warnings, Up: Controlling GDB [Contents][Index]
GDB has commands that enable optional debugging messages from various GDB subsystems; normally these commands are of interest to GDB maintainers, or when reporting a bug. This section documents those commands.
Turns on or off the notification of asynchronous commands’ completion. When on, GDB will print a message when an asynchronous command finishes its execution. The default is off.
Displays the current setting of asynchronous command completion notification.
Turns on or off display of debugging messages related to ARM AArch64. The default is off.
Displays the current state of displaying debugging messages related to ARM AArch64.
Turns on or off display of gdbarch debugging info. The default is off
Displays the current state of displaying gdbarch debugging info.
Display debugging messages about inner workings of the AIX thread module.
Show the current state of AIX thread debugging info display.
The set debug amd-dbgapi-lib log-level level command can be used
to enable diagnostic messages from the ‘amd-dbgapi’ library, where
level can be:
offno logging is enabled
errorfatal errors are reported
warningfatal errors and warnings are reported
infofatal errors, warnings, and info messages are reported
verboseall messages are reported
The show debug amd-dbgapi-lib log-level command displays the current
amd-dbgapi library log level.
The ‘set debug amd-dbgapi’ command can be used to enable diagnostic messages in the ‘amd-dbgapi’ target. The ‘show debug amd-dbgapi’ command displays the current setting. See set debug amd-dbgapi.
Check the results of the “physname” computation. When reading DWARF debugging information for C++, GDB attempts to compute each entity’s name. GDB can do this computation in two different ways, depending on exactly what information is present. When enabled, this setting causes GDB to compute the names both ways and display any discrepancies.
Show the current state of “physname” checking.
Control display of debugging messages related to reading of COFF/PE exported symbols. The default is off.
Displays the current state of displaying debugging messages related to reading of COFF/PE exported symbols.
Turns on or off display of debugging messages related to reading CTF debug info. The default is off.
Displays the current state of CTF debug info reading messages.
Dump DWARF DIEs after they are read in. The value is the number of nesting levels to print. A value of zero turns off the display.
Show the current state of DWARF DIE debugging.
Turns on or off display of debugging messages related to reading DWARF line tables. The default is 0 (off). A value of 1 provides basic information. A value greater than 1 provides more verbose information.
Show the current state of DWARF line table debugging.
Turns on or off display of debugging messages related to reading DWARF debug info. The default is 0 (off). A value of 1 provides basic information. A value greater than 1 provides more verbose information.
Show the current state of DWARF reader debugging.
Turns on or off display of GDB debugging info for the displaced stepping support. The default is off.
Displays the current state of displaying GDB debugging info related to displaced stepping.
Turns on or off display of GDB event debugging info. The default is off.
Displays the current state of displaying GDB event debugging info.
Controls output of debugging info about the event loop. The possible values are ‘off’, ‘all’ (shows all debugging info) and ‘all-except-ui’ (shows all debugging info except those about UI-related events).
Shows the current state of displaying debugging info about the event loop.
Turns on or off display of debugging info about GDB expression parsing. The default is off.
Displays the current state of displaying debugging info about GDB expression parsing.
Turns on or off debugging messages from the FreeBSD LWP debug support.
Show the current state of FreeBSD LWP debugging messages.
Turns on or off debugging messages from the FreeBSD native target.
Show the current state of FreeBSD native target debugging messages.
Turns on or off display of GDB Fortran array slicing debugging info. The default is off.
Displays the current state of displaying GDB Fortran array slicing debugging info.
Turns on or off display of GDB frame debugging info. The default is off.
Displays the current state of displaying GDB frame debugging info.
Turn on or off debugging messages related to GNU ifunc resolution.
Show the current state of GNU ifunc resolution debugging messages.
Turn on or off debugging messages from the GNU/Hurd debug support.
Show the current state of GNU/Hurd debugging messages.
Turns on or off display of GDB debugging info for running the inferior. The default is off. infrun.c contains GDB’s runtime state machine used for implementing operations such as single-stepping the inferior.
Displays the current state of GDB inferior debugging.
Turns on or off display of debugging info related to inferior function calls made by GDB.
Displays the current state of GDB inferior function call debugging.
Turn on or off debugging messages from JIT debug support.
Displays the current state of GDB JIT debugging.
Turn on or off debugging messages from the Linux native target debug support.
Show the current state of Linux native target debugging messages.
Turn on or off debugging messages from the Linux namespaces debug support.
Show the current state of Linux namespaces debugging messages.
Control display of debugging messages related to Mach-O symbols processing. The default is off.
Displays the current state of displaying debugging messages related to reading of COFF/PE exported symbols.
Turn on or off debugging messages about remote async notification. The default is off.
Displays the current state of remote async notification debugging messages.
Turns on or off display of GDB observer debugging. This includes info such as the notification of observable events.
Displays the current state of observer debugging.
Turns on or off display of GDB C++ overload debugging info. This includes info such as ranking of functions, etc. The default is off.
Displays the current state of displaying GDB C++ overload debugging info.
Turns on or off the display of expression parser debugging output.
Internally, this sets the yydebug variable in the expression
parser. See Tracing Your Parser in Bison, for
details. The default is off.
Show the current state of expression parser debugging.
Turns on or off display of reports on all packets sent back and forth across the serial line to the remote machine. The info is printed on the GDB standard output stream. The default is off.
Displays the state of display of remote packets.
Sets the maximum number of characters to display for each remote packet when
set debug remote is on. This is useful to prevent GDB from
displaying lengthy remote packets and polluting the console.
The default value is 512, which means GDB will truncate each
remote packet after 512 bytes.
Setting this option to unlimited will disable truncation and will output
the full length of the remote packets.
Displays the number of bytes to output for remote packet debugging.
Turns on or off display of debug output about separate debug file search.
Displays the state of separate debug file search debug output.
Turns on or off display of GDB serial debugging info. The default is off.
Displays the current state of displaying GDB serial debugging info.
Turns on or off display of debugging messages related to shared libraries. The default is off.
Show the current state of solib debugging messages.
Turns on or off display of debugging messages related to symbol lookup. The default is 0 (off). A value of 1 provides basic information. A value greater than 1 provides more verbose information.
Show the current state of symbol lookup debugging messages.
Turns on or off display of debugging messages related to symbol file functions. The default is off. See Files.
Show the current state of symbol file debugging messages.
Turns on or off display of debugging messages related to symbol table creation. The default is 0 (off). A value of 1 provides basic information. A value greater than 1 provides more verbose information.
Show the current state of symbol table creation debugging.
Turns on or off display of GDB target debugging info. This info includes what is going on at the target level of GDB, as it happens. The default is 0. Set it to 1 to track events, and to 2 to also track the value of large memory transfers.
Displays the current state of displaying GDB target debugging info.
Turns on or off display of timestamps with GDB debugging info. When enabled, seconds and microseconds are displayed before each debugging message.
Displays the current state of displaying timestamps with GDB debugging info.
Turns on or off display of GDB variable object debugging info. The default is off.
Displays the current state of displaying GDB variable object debugging info.
Turn on or off debugging messages for built-in XML parsers.
Displays the current state of XML debugging messages.
Turns on or off display of GDB debugging info for breakpoint insertion and removal. The default is off.
Displays the current state of displaying GDB debugging info for breakpoint insertion and removal.
Next: Other Misc Settings, Previous: Messages/Warnings, Up: Controlling GDB [Contents][Index]