[PATCH] gdb-add-index: disable debuginfod

Tom Tromey tom@tromey.com
Fri Feb 25 19:23:45 GMT 2022


>>>>> "Aaron" == Aaron Merey via Gdb-patches <gdb-patches@sourceware.org> writes:

Aaron> gdb-add-index may trigger debuginfod's first-use notice.  The notice
Aaron> is misleading in this case.  It instructs the user to modify .gdbinit
Aaron> in order to permanently enable/disable debuginfod but gdb-add-index
Aaron> invokes gdb with -nx which ignores .gdbinit.

Aaron> Additionally debuginfod is not needed for gdb-add-index since the
Aaron> symbol file is given as an argument and should already be present
Aaron> locally.

Aaron> Fix this by disabling debuginfod when gdb-add-index invokes gdb.

Thank you.  This is ok.

Tom


More information about the Gdb-patches mailing list