[PATCH] [PR gdb/29316] gdb-add-index always generates an error when libdebuginfod wasn't compiled in

Aaron Merey amerey@redhat.com
Fri Jul 15 21:38:03 GMT 2022


On Fri, Jul 15, 2022 at 1:14 PM Tom Tromey <tom@tromey.com> wrote:
>
> >>>>> "Aaron" == Aaron Merey via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Aaron> gdb-add-index runs gdb with -iex 'set debuginfod enabled off'.  If gdb
> Aaron> is not compiled against libdebuginfod this causes an unnecessary error
> Aaron> message to be printed to stderr indicating that gdb was not built with
> Aaron> debuginfod support.
>
> Aaron> Fix this by changing the 'set debuginfod enabled off' command to a
> Aaron> no-op when gdb isn't built with libdebuginfod.
>
> Thanks, this is ok.

Thanks, pushed as commit 92b0a182fe00.

Aaron



More information about the Gdb-patches mailing list