| commit | 92b0a182fe00da3022516f3cb8f815d527d73652 | [log] [tgz] |
|---|---|---|
| author | Aaron Merey <amerey@redhat.com> | Tue Jul 05 18:11:49 2022 -0400 |
| committer | Aaron Merey <amerey@redhat.com> | Fri Jul 15 17:11:23 2022 -0400 |
| tree | 653dba1c1d7bed4a237cc49d70a8e033184cbbc1 | |
| parent | 13c3e10f98ff9b89c12161e85bd576ea77460a83 [diff] |
gdb-add-index always generates an error when libdebuginfod wasn't compiled in gdb-add-index runs gdb with -iex 'set debuginfod enabled off'. If gdb is not compiled against libdebuginfod this causes an unnecessary error message to be printed to stderr indicating that gdb was not built with debuginfod support. Fix this by changing the 'set debuginfod enabled off' command to a no-op when gdb isn't built with libdebuginfod.