Bug 1838777

Summary: backport debuginfod support into gdb
Product: Red Hat Enterprise Linux 8 Reporter: Frank Ch. Eigler <fche>
Component: gcc-toolset-10-gdbAssignee: Keith Seitz <keiths>
Status: CLOSED ERRATA QA Contact: Michal Kolar <mkolar>
Severity: unspecified Docs Contact: Zuzana Zoubkova <zzoubkov>
Priority: unspecified    
Version: 8.3CC: dsmith, gdb-bugs, lmanasko, mcermak, mnewsome, ohudlick, sergiodj
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-toolset-10-gdb-9.2-2.el8 Doc Type: Enhancement
Doc Text:
.GDB now supports `debuginfod` With this enhancement, the GNU Debugger (GDB) can now download debug information packages from centralized servers on demand using the elfutils `debuginfod` client library.
Story Points: ---
Clone Of:
: 1848160 (view as bug list) Environment:
Last Closed: 2020-11-04 03:58:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1848160    

Description Frank Ch. Eigler 2020-05-21 18:53:55 UTC
gdb/master debuginfod client support would be nice to give to rhel8 customers.  A backport into the DTS10 stream of code may be the easiest path.

Comment 4 Keith Seitz 2020-06-15 19:32:23 UTC
QE: There are tests for this in gdb's test suite:

$ make check TESTS=gdb.debuginfod/*.exp
[...]
Running /home/rhel8/gdb/scl-gcc-toolset-10-rhel-8.3.0/gdb-9.2/build-x86_64-redhat-linux-gnu/gdb/testsuite/../../../gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp ...
FAIL: gdb.debuginfod/fetch_src_and_symbols.exp: server init timeout

		=== gdb Summary ===

# of expected passes		8
# of unexpected failures	1

The single FAILing test is expected. The system elfutils-debuginfod has different wording than newer versions.
This initialization timeout may be safely ignored.

Comment 6 Michal Kolar 2020-09-05 10:04:15 UTC
Verified against gcc-toolset-10-gdb-9.2-2.el8.

Comment 9 errata-xmlrpc 2020-11-04 03:58:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: gcc-toolset-10-gdb), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4800