From: Tom Tromey Date: Tue, 11 Mar 2025 15:37:58 +0000 (-0600) Subject: Use gdb unordered map in inferior.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57a99efc0ad6ceaaeab179f6904a36ff62abc8cb;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered map in inferior.h This changes inferior.h to use gdb::unordered_map. Approved-By: Simon Marchi --- diff --git a/gdb/inferior.h b/gdb/inferior.h index 10f00a1a914..3d9f86c0d4a 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 +#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_thread_map; + gdb::unordered_map ptid_thread_map; /* Returns a range adapter covering the inferior's threads, including exited threads. Used like this: