GNU Debugger Adds Support For Debugging AMD ROCm / HIP Code

Written by Michael Larabel in GNU on 2 February 2023 at 10:38 AM EST. Add A Comment
The GNU Debugger "GDB" has landed initial support for being able to debug AMDGPU/ROCm platform code with a preliminary focus on HIP programs.

Merged this morning to mainline GDB is support for ROCm platform debugging with this being AMD's open-source Linux compute stack. While ROCm also supports OpenMP and OpenCL programs, this initial ROCm debugging focus is for HIP programs.

AMD for their part maintains rocGDB as their ROCm source-level debugger built atop the GNU Debugger. But now thanks to work of software developer Simon Marchi with EfficiOS, upstream GDB has support for ROCm/HIP debugging.

ROCm debugging lands in GDB Git.

More details via this commit for those interested in AMD ROCm debugging with GDB.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week