#define GDBSERVER_INFERIORS_H
#include "gdbsupport/owning_intrusive_list.h"
+#include "gdbsupport/unordered_map.h"
#include "dll.h"
-#include <unordered_map>
-
struct thread_info;
struct regcache;
struct target_desc;
/* 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 *> m_ptid_thread_map;
+ gdb::unordered_map<ptid_t, thread_info *> m_ptid_thread_map;
};
/* Return a pointer to the current process. Note that the current
#include "arch/aarch64.h"
#include "linux-aarch32-low.h"
#include <inttypes.h>
-#include <unordered_map>
+#include "gdbsupport/unordered_map.h"
/* Create the aarch64 target description. */
this function as the in-process-agent calls this function from a
constructor function, when globals might not yet have been
initialised. */
- static std::unordered_map<aarch64_features, target_desc *> tdesc_aarch64_map;
+ static gdb::unordered_map<aarch64_features, target_desc *> tdesc_aarch64_map;
if (features.vq > AARCH64_MAX_SVE_VQ)
error (_("VQ is %" PRIu64 ", maximum supported value is %d"), features.vq,
#include "dll.h"
#include "hostio.h"
#include <vector>
-#include <unordered_map>
+#include "gdbsupport/unordered_map.h"
#include "gdbsupport/common-inferior.h"
#include "gdbsupport/job-control.h"
#include "gdbsupport/environ.h"
It's nicer if we only print the final options for each TID,
and if we only print about it if the options changed compared
to the options that were previously set on the thread. */
- std::unordered_map<thread_info *, gdb_thread_options> set_options;
+ gdb::unordered_map<thread_info *, gdb_thread_options> set_options;
while (*p != '\0')
{