AMD's Work On Upstreaming AMDGPU/ROCm Debugging Support Into GDB

Written by Michael Larabel in AMD on 4 February 2024 at 06:46 AM EST. Add A Comment
AMD
The AMD ROCm Debugger "ROCgdb" is maintained as a fork of the GNU Debugger (GDB) with support added for the heterogeneous debugging of the ROCm compute platform. ROCgdb works well and is distributed as part of the ROCM stack. The good news is that AMD is also working on getting this AMDGPU/ROCm debug support added into the upstream GDB debugger.

AMD engineer Lancelot SIX spoke at FOSDEM on Saturday in Brussels around GDB and AMD's ROCgdb downstream. Lancelot covered the current ROCgdb features/status and reaffirmed their plans on upstreaming the support.

There's no immediate timeline for having it all upstreamed in GDB but it's an ongoing progress and also depends on collaboration with other GDB stakeholders.

AMD ROCgdb slide


It remains to be seen if upstream GDB will ever get to the point of effectively deprecating ROCgdb or if there will always be a patch queue with some elements not appropriate for upstream, new features being still developed by AMD, etc, just as AMD continues maintaining AOMP as their Radeon OpenMP offloading compiler downstream of LLVM/Clang, among other downstream projects.

Those wishing to learn more about the ROCgdb effort and the GDB upstreaming can find the FOSDEM 2024 presentation details at FOSDEM.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week