-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix instructions for installting GDB on Fedora #367
Conversation
Issue rust-embedded#364 reports that the package arm-none-eabi-gdb has been dropped from Fedora (30-ish). Their Bugzilla issue https://bugzilla.redhat.com/show_bug.cgi?id=1859627#c23 recommends installing the toolchain provided by arm and that is what the section 'Other distros' in the book does as well. A gdb-multiarch package does not seem available at a first glance.
r? @adamgreig (rust-highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I suspect Fedora users can probably use gdb-multiarch as well, but the new instructions here should also work fine. Perhaps we should link to a newer version though...
bors merge
I had a quick look at https://src.fedoraproject.org/projects/rpms/* but it seems that this package is not available.
Do you mean the version of the toolchain? 10-2020-q4-major is still the latest release according to their website. |
Huh, I guess no further work required then! I assumed there would have been a 2021 release of the GCC toolchain by now but you're right, there's not, so nothing to update. Thanks for checking! |
I have been working with Fedora's gdb for the longest time and just using the default package just works ™️ for me:
My only GDB related packages are:
so it appears to me default fedora gdb just is multiarch already. At least when I run:
I get quite a lot of architectures |
The package
arm-none-eabi-gdb
is no longer provided by Fedora as stated in #364. So let's guide Fedora uses to Other distros then and use a pre-built toolchain provided by ARM. This is also the recommendation from the issue at Fedora.