Full documentation for AMD Debugger API is available at rocm.docs.amd.com/rocdbgapi.
- Support for generic code object targets:
gfx9-generic
gfx9-4-generic
gfx10-1-generic
gfx10-3-generic
gfx11-generic
gfx12-generic
- Support for gfx1200 and gfx1201 architectures.
- Support for setting precise ALU exception reporting.
- Before ROCr ABI version 10, there where configurations where a debugger
would generate unreliable core dumps. If such configuration is detected
by rocm-dbgapi,
amd_dbgapi_process_get_info
now returnsAMD_DBGAPI_STATUS_ERROR_RESTRICTION
for theAMDGPU_DBGAPI_PROCESS_INFO_CORE_STATE
request.
- Rename (AMD_DBGAPI_EXCEPTION_WAVE,AMD_DBGAPI_WAVE_STOP_REASON)_APERTURE_VIOLATION -> (AMD_DBGAPI_EXCEPTION_WAVE,AMD_DBGAPI_WAVE_STOP_REASON)_ADDRESS_ERROR. Old names are still available but deprecated.
- Added support to create and open core dumps.
- Add support for gfx940, gfx941 and gfx942 architectures.
- The name reported for each agent is now based on the information stored
in the
pci.ids
database. - Return
AMD_DBGAPI_STATUS_ERROR_NOT_AVAILABLE
when queryingAMD_DBGAPI_REGISTER_INFO_DWARF
for a valid register which does not have an associated DWARF register number.
-
Does not support debugging programs that use cooperative groups or CU masking for gfx1100, gfx1101, and gfx11102. A restriction will be reported when attaching to a process that has already created cooperative group queues or CU masked queues. Any attempt by the process to create a cooperative queue or CU masked queue when attached will fail.
-
On gfx1100, gfx1101 and gfx1102, the library cannot debug a program past a
s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
instruction. If an exception is delivered to a wave in an attached process after the wave has executed this instruction, the wave is killed and the exception is not reported in the debugger.
- Expose SGPRs mapped under
flat_scratch
/xnack_mask
/vcc
.