Skip to content

runtime-cleanup: don't strip /usr/share from gdb-headless#1508

Merged
bcl merged 1 commit intoweldr:masterfrom
AdamWill:dont-strip-gdb-headless
Feb 23, 2026
Merged

runtime-cleanup: don't strip /usr/share from gdb-headless#1508
bcl merged 1 commit intoweldr:masterfrom
AdamWill:dont-strip-gdb-headless

Conversation

@AdamWill
Copy link
Copy Markdown
Contributor

It makes gdb useless because it gets rid of its _execute_unwinders function, which it needs to generate useful backtraces. Probably other vital stuff is here as well, and it's only 1M big.

It makes gdb useless because it gets rid of its _execute_unwinders
function, which it needs to generate useful backtraces. Probably
other vital stuff is here as well, and it's only 1M big.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
@AdamWill
Copy link
Copy Markdown
Contributor Author

I ran into this while trying to debug https://bugzilla.redhat.com/show_bug.cgi?id=2439813 . I couldn't get any useful backtraces from the stuck processes because of this problem. I built a custom netinst image with a lorax with this patch applied and I can get backtraces now.

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 22325898612

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 41.596%

Totals Coverage Status
Change from base Build 22110926391: 0.0%
Covered Lines: 1643
Relevant Lines: 3913

💛 - Coveralls

@AdamWill
Copy link
Copy Markdown
Contributor Author

lorax-templates-rhel pr

Copy link
Copy Markdown
Contributor

@bcl bcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I don't think I've used gdb on a boot.iso since we got rid of loader :)

@bcl bcl merged commit ef1fcaf into weldr:master Feb 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants