Standard GDB commands can be used for both CPU and GPU code debugging. For more
information about ROCgdb, please refer to the *ROCgdb User Manual* which is
-installed as both texinfo files and as a single PDF file in ``/opt/rocm/doc``.
-In particular, refer to the *Debugging Heterogeneous Programs* chapter for
-general information, and the *AMD GPU* subsection of the *Architectures* section
-in the *Configuration-Specific Information* chapter. The *AMD GPU* subsection
-also provides the list of features not currently implemented, and known current
-restrictions.
+installed as both texinfo files and as a single PDF file in
+``/opt/rocm/share/doc/gdb`. In particular, refer to the *Debugging Heterogeneous
+Programs* chapter for general information, and the *AMD GPU* subsection of the
+*Architectures* section in the *Configuration-Specific Information* chapter. The
+*AMD GPU* subsection also provides the list of features not currently
+implemented, and known current restrictions.
For more information about ROCm, please refer to:
@url{https://rocm-documentation.readthedocs.io/, @acronym{ROCm, Radeon
Open Compute platforM}} for HIP-Clang is installed.
-The following AMD commercial GPUs are supported:
+The following AMD GPU chips are supported:
@itemize @bullet{}
@item
-AMD GPUs previously code-named ``Vega 10'', also denoted as gfx900
+``Vega 10'' which is displayed as @samp{vega10} by @value{GDBN} and
+denoted as @samp{gfx900} by the compiler.
@item
-AMD GPUs previously code-named ``Vega 20'', also denoted as gfx906
+``Vega 7nm'' which is displayed as @samp{vega20} by @value{GDBN} and
+denoted as @samp{gfx906} by the compiler.
@item
-AMD GPUs code-named ``Arcturus'', also denoted as gfx908
+``Arcturus'' which is displayed as @samp{arcturus} by @value{GDBN} and
+denoted as @samp{gfx908} by the compiler.
@end itemize
produce debugging information suitable for use by @value{GDBN}. The
@w{@option{--amdgpu-target}} option is used to specify the AMD GPUs
that the executable is required to support. For example, to compile a
-HIP program that can utilize ``Vega 10'', ``Vega 20'', and
-``Arcturus'' AMD GPUs, with no optimization:
+HIP program that can utilize ``Vega 10'', ``Vega 7nm'', and
+``Arcturus'' AMD GPU chips, with no optimization:
@smallexample
hipcc -O0 -ggdb --amdgpu-target=gfx900 --amdgpu-target=gfx906 \