Up: Debuginfod [Contents][Index]
GDB provides the following commands for configuring debuginfod.
set debuginfod enabledset debuginfod enabled onGDB may query debuginfod servers for missing debug info and
source files. GDB may also download individual ELF/DWARF sections
such as .gdb_index to help reduce the total amount of data downloaded
from debuginfod servers; this can be controlled by maint set debuginfod download-sections (see maint set
debuginfod download-sections).
set debuginfod enabled offGDB will not attempt to query debuginfod servers when missing
debug info or source files. By default, debuginfod enabled is set to
off for non-interactive sessions.
set debuginfod enabled askGDB will prompt the user to enable or disable debuginfod before
attempting to perform the next query. By default, debuginfod enabled
is set to ask for interactive sessions.
show debuginfod enabledDisplay whether debuginfod enabled is set to on, off or
ask.
set debuginfod urlsset debuginfod urls urlsSet the space-separated list of URLs that debuginfod will attempt to
query. Only http://, https:// and file:// protocols
should be used. The default value of debuginfod urls is copied from
the DEBUGINFOD_URLS environment variable.
show debuginfod urlsDisplay the list of URLs that debuginfod will attempt to query.
set debuginfod verboseset debuginfod verbose nEnable or disable debuginfod-related output. Use a non-zero value
to enable and 0 to disable. debuginfod output is shown by
default.
show debuginfod verboseShow the current verbosity setting.