Replies: 2 comments 2 replies
|
Hi Simon! That's a very nice surprise. Thank you for pointing me to the kernel commit. Indeed. the main reason why rocm-gdb was not in the official repos was the lack of support by the mainline linux kernel. Do you have suggestions for Cheers, |
0 replies
|
What you have already seems to work. But since you ask:
I then looked at the built package itself, there is a bunch of stuff (headers, libraries) that come from bfd, binutils, and other projects in the binutils-gdb source tree (I know, it's a bit of a mess with all those projects in the same tree). I think it would make sense to run "make install" in the gdb directory only. This is what the gdb package does: |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
Is there a reason why rocm-gdb is not in the official repos?
The support for debugging in the AMD KFD module wasn't in the upstream Linux kernel until somewhat recently, so I can imagine that it would have been useless to have an official rocm-gdb package before.
FWIW, I tested changing the PKGBUILD to point to the 6.0.2 release, and it builds and runs fine (although only lightly tested).
I'm a gdb developer and also contribute to ROCgdb, so I'd be happy to help get rocm-gdb in the official repos, if that's what you want.
Thanks,
Simon
All reactions