Bug 2435950
| Summary: | gdb 17.1 can't step into functions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Hughes <tom> | ||||
| Component: | gdb | Assignee: | Guinevere Larsen <guinevere> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 43 | CC: | ahajkova, fweimer, guinevere, jan, keiths, kevinb, mcermak, mkolar, suraj.ghimire7 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gdb-17.1-3.fc43 | Doc Type: | --- | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2026-02-15 01:12:46 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: | |||||||
| Attachments: |
|
||||||
|
Description
Tom Hughes
2026-02-02 12:24:38 UTC
Created attachment 2127830 [details]
Test program
Downgrading to gdb-16.3-6.fc43.x86_64 gets things working again. Hello! Thank you for reporting this. With the provided instructions, I can't reproduce this bug locally. However, I noticed that your GDB session has a few commands not listed (specifically the following lines: ❌️ No symbol table is loaded. Use the "file" command. Breakpoint 1 (__sanitizer::Die) pending. File(s) /usr/include/c++/*/*/* will be skipped when stepping. File(s) /usr/include/c++/*/* will be skipped when stepping. File(s) /usr/include/c++/* will be skipped when stepping. ) This indicates that you have either a gdbinit or gdbearlyinit file that is being processed and was not provided. I believe that some command there is responsible for the incorrect behavior, could you check it for any data you wouldn't want shared, then attach to this bug, please? Indeed... It seems that this is the culprit: # Skip over standard library routines skip -gfi /usr/include/c++/*/*/* skip -gfi /usr/include/c++/*/* skip -gfi /usr/include/c++/* Not that any of those match the file we are trying to step into... Yes, with those I do reproduce the problem. I'll chat to the other GDB engineers and we'll start looking into it! FEDORA-2026-0630a7be2f (gdb-17.1-3.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-0630a7be2f FEDORA-2026-0630a7be2f has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0630a7be2f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0630a7be2f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-0630a7be2f (gdb-17.1-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-8977c2c199 (gdb-17.1-4.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-8977c2c199 FEDORA-2026-8977c2c199 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8977c2c199` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8977c2c199 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. |