gdb/amd-dbgapi-target: drop reference to amd_dbgapi_address_class_id_t

The rocm-dbgapi header defines a few handle types, and the
gdb/amd-dbgapi-target.h defines some generic helpers for them
(operator== and operator!=).  Nothing in GDB uses
amd_dbgapi_address_class_id_t, and this type will be removed from the
library.

Since this is not used and will be removed in the future, remove the
definition of operator== / operator!= for amd_dbgapi_address_class_id_t.

Build tested, no visible user impact expected.

Change-Id: If4c343120633b8d5b933a5ac7e722a2ed01f8b3c
Approved-By: Pedro Alves <pedro@palves.net>
This commit is contained in:
Lancelot SIX 2026-06-03 15:34:09 +01:00
parent 7728a7b190
commit 51723aacf8

View file

@ -31,8 +31,7 @@ namespace detail
template <typename T>
using is_amd_dbgapi_handle
= gdb::Or<std::is_same<T, amd_dbgapi_address_class_id_t>,
std::is_same<T, amd_dbgapi_address_space_id_t>,
= gdb::Or<std::is_same<T, amd_dbgapi_address_space_id_t>,
std::is_same<T, amd_dbgapi_architecture_id_t>,
std::is_same<T, amd_dbgapi_agent_id_t>,
std::is_same<T, amd_dbgapi_breakpoint_id_t>,