aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-03-11 09:37:58 -0600
committerTom Tromey <tom@tromey.com>2025-03-18 05:32:03 -0600
commit57a99efc0ad6ceaaeab179f6904a36ff62abc8cb (patch)
treed4d8d81c577512ebf810227a0085ce6cee55e4d2
parentd0ed7bf67d1ef37e48e3886c0278d6b8af23d0ec (diff)
downloadbinutils-57a99efc0ad6ceaaeab179f6904a36ff62abc8cb.zip
binutils-57a99efc0ad6ceaaeab179f6904a36ff62abc8cb.tar.gz
binutils-57a99efc0ad6ceaaeab179f6904a36ff62abc8cb.tar.bz2
Use gdb unordered map in inferior.h
This changes inferior.h to use gdb::unordered_map. Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r--gdb/inferior.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 10f00a1..3d9f86c 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -63,7 +63,7 @@ struct thread_info;
#include "process-stratum-target.h"
#include "displaced-stepping.h"
-#include <unordered_map>
+#include "gdbsupport/unordered_map.h"
struct infcall_suspend_state;
struct infcall_control_state;
@@ -459,7 +459,7 @@ public:
/* A map of ptid_t to thread_info*, for average O(1) ptid_t lookup.
Exited threads do not appear in the map. */
- std::unordered_map<ptid_t, thread_info *> ptid_thread_map;
+ gdb::unordered_map<ptid_t, thread_info *> ptid_thread_map;
/* Returns a range adapter covering the inferior's threads,
including exited threads. Used like this: