Dear Maintainer, There is basic support for debugging code running on AMD GPUs in gdb 14 and later. Please consider enabling this support by adding amd-dbgapi-dev to the Build-Depends on amd64. This will add a runtime dependency on librocm-dbgapi0. The configure script will build AMD GPU debugging support by default if amd-dbgapi-dev is found, but you can use --with-amd-dbgapi=<auto,yes,no> during configuration for more control. I have only tested this functionality on amd64 and I'm uncertain if it works on arm64 and ppc64el. There is no AMD KFD driver support for other architectures, aside from those three. Sincerely, Cory Bloor
Hello Cordell, I was about to push a change for this to git repo, however I have noticed there are no ppc64el headers in the archive. Am I missing something there? https://packages.debian.org/unstable/amd-dbgapi-dev only lists amd64 and arm64. Regards
Hi Cordell, Is it sufficient to just add amd-dbgapi-dev to build-depends in order to get a gdb with AMD GPU debugging support? I tried with with `sbuild --dist sid gdb --add-depends=amd-dbgapi-dev`, the build went fine, but then I can't use the commands mentioned on [1], eg. `show amdgpu precise-memory` does not seem to work. Is there anything else to be done in order to test the functionality? Thanks, Emanuele [1] https://sourceware.org/gdb/current/onlinedocs/gdb.html/AMD-GPU.html