gdb: Add command 'maint set/show debuginfod download-sections'
authorAaron Merey <amerey@redhat.com>
Mon, 2 Oct 2023 17:59:57 +0000 (13:59 -0400)
committerAaron Merey <amerey@redhat.com>
Mon, 2 Oct 2023 18:04:59 +0000 (14:04 -0400)
commit4afdefc3375c81dd4780508b11bb2ade895d4053
treec88d883f4fc6f8c0b22d44ebd2fa839ec1a4815c
parent8546d15ba9421fbb5bd9bdab0f7def235f33f05a
gdb: Add command 'maint set/show debuginfod download-sections'

This setting controls whether GDB may attempt to download ELF/DWARF
sections from debuginfod servers.

This setting is enabled by default if gdb is built with debuginfod
section download support (requires libdebuginfod 0.188).

Also update debuginfod command help text and gdb.texinfo with
information on section downloading and the new command.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/debuginfod-support.c
gdb/doc/gdb.texinfo