Bug 1894154
Summary: | gdb doesn't suggest a debuginfo-install command | |||
---|---|---|---|---|
Product: | Red Hat Developer Toolset | Reporter: | Keith Seitz <keiths> | |
Component: | gdb | Assignee: | Keith Seitz <keiths> | |
Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | DTS 10.0 RHEL 7 | CC: | dsmith, ego.cordatus, extras-qa, jan.kratochvil, keiths, kevinb, mcatanza, mcermak, mnewsome, ngompa13, ohudlick, palves, pmuldoon, sergiodj, sergio, yalterz | |
Target Milestone: | alpha | Keywords: | Regression | |
Target Release: | 9.1 | |||
Hardware: | x86_64 | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | devtoolset-10-gdb-9.2-9.el7 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1887025 | |||
: | 1894703 (view as bug list) | Environment: | ||
Last Closed: | 2020-12-01 12:15:13 UTC | Type: | --- | |
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: | 1887025 | |||
Bug Blocks: | 1894703, 1915430 |
Description
Keith Seitz
2020-11-03 16:46:01 UTC
QE: To test: 1. Install devtoolset-10-elfutils-debuginfod $ yum install -y devtoolset-10-elfutils-debuginfod 2. Download, e.g., coreutils and coreutils debuginfo rpms. $ mkdir distro-rpms; cd distro-rpms $ wget http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/coreutils/8.22/24.el7/x86_64/coreutils-8.22-24.el7.x86_64.rpm $ wget http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/coreutils/8.22/24.el7/x86_64/coreutils-debuginfo-8.22-24.el7.x86_64.rpm $ # or use yumdownloader or yum install --downloadonly 3. Start debuginfod distro-rpms$ scl enable devtoolset-10 /bin/bash distro-rpms$ debuginfod -R . --- In another terminal: 1. Enable DTS10 $ scl enable devtoolset-10 /bin/bash 2. Clear the debuginfod client cache $ rm -rf ~/.cache/debuginfod_client 3. Verify "missing" messages: $ unset DEBUGINFOD_URLS $ gdb -q /usr/bin/lReading symbols from /usr/bin/ls... Reading symbols from .gnu_debugdata for /usr/bin/ls... (No debugging symbols found in .gnu_debugdata for /usr/bin/ls) Missing separate debuginfos, use: debuginfo-install coreutils-8.22-24.el7.x86_64 **NOTE** It is this last line that MUST be present 4. Verify debuginfod $ export DEBUGINFOD_URLS=http://localhost:8002/ $ gdb -q /usr/bin/ls Reading symbols from /usr/bin/ls... Downloading separate debug info for /usr/bin/ls... Reading symbols from /home/rhel7/.cache/debuginfod_client/ceaf496f3aec08afced234f4f36330d3d13a657b/debuginfo... Downloading separate debug info for /home/rhel7/.cache/debuginfod_client/ceaf496f3aec08afced234f4f36330d3d13a657b/debuginfo... **NOTE** The "Downloading ..." liones MUST be present 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: devtoolset-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/RHEA-2020:5295 |