Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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