aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd-dbgapi-target.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-01-14 14:16:21 -0500
committerSimon Marchi <simon.marchi@efficios.com>2025-02-25 11:35:12 -0500
commit6997fbcd06f858800baaa5c0027396c78e0b41c4 (patch)
treeb00a8bfca63d8f0e59fe8677d9a31e6a6cf862eb /gdb/amd-dbgapi-target.c
parentf2cc668e2b0c75d8baaf1b754d9a311084508db3 (diff)
downloadbinutils-6997fbcd06f858800baaa5c0027396c78e0b41c4.zip
binutils-6997fbcd06f858800baaa5c0027396c78e0b41c4.tar.gz
binutils-6997fbcd06f858800baaa5c0027396c78e0b41c4.tar.bz2
gdb/amd-dbgapi: use gdb::unordered_map
Since we have gdb::unordered_map, swap std::unordered_map for that. Change-Id: If2ef652fe18c1a440a25cff6131d29e37091bdbe Approved-By: Lancelot Six <lancelot.six@amd.com> (amdgpu)
Diffstat (limited to 'gdb/amd-dbgapi-target.c')
-rw-r--r--gdb/amd-dbgapi-target.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c
index 2bb79ac..153a35f 100644
--- a/gdb/amd-dbgapi-target.c
+++ b/gdb/amd-dbgapi-target.c
@@ -24,6 +24,7 @@
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
#include "cli/cli-style.h"
+#include "gdbsupport/unordered_map.h"
#include "inf-loop.h"
#include "inferior.h"
#include "objfiles.h"
@@ -207,7 +208,7 @@ struct amd_dbgapi_inferior_info
bool enabled = false;
} precise_memory;
- std::unordered_map<decltype (amd_dbgapi_breakpoint_id_t::handle),
+ gdb::unordered_map<decltype (amd_dbgapi_breakpoint_id_t::handle),
struct breakpoint *>
breakpoint_map;
@@ -221,7 +222,7 @@ struct amd_dbgapi_inferior_info
wave_info objects are added when we first see the wave, and
removed from a thread_deleted observer. */
- std::unordered_map<decltype (amd_dbgapi_wave_id_t::handle), wave_info>
+ gdb::unordered_map<decltype (amd_dbgapi_wave_id_t::handle), wave_info>
wave_info_map;
};