From: Simon Marchi Date: Tue, 14 Jan 2025 19:16:21 +0000 (-0500) Subject: gdb/amd-dbgapi: use gdb::unordered_map X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6997fbcd06f858800baaa5c0027396c78e0b41c4;p=thirdparty%2Fbinutils-gdb.git 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 (amdgpu) --- diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c index 2bb79acd76f..153a35f788e 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 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 + gdb::unordered_map wave_info_map; };