aboutsummaryrefslogtreecommitdiff
path: root/gdb/ravenscar-thread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-03-11 11:22:23 -0600
committerTom Tromey <tom@tromey.com>2025-03-18 05:32:04 -0600
commitaeeb41fcf7c9c3aec7333980fb24c633e7940ebd (patch)
treeab79b60bda1f3b398ffa8c658fe4dfb07bf9a9c9 /gdb/ravenscar-thread.c
parentfd34c152ef22b65bc942c6d36a04a4272ef4c6fd (diff)
downloadbinutils-aeeb41fcf7c9c3aec7333980fb24c633e7940ebd.zip
binutils-aeeb41fcf7c9c3aec7333980fb24c633e7940ebd.tar.gz
binutils-aeeb41fcf7c9c3aec7333980fb24c633e7940ebd.tar.bz2
Use gdb unordered map in ravenscar.c
This changes ravenscar.c to use gdb::unordered_map. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r--gdb/ravenscar-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 47db72b..dae6917 100644
--- a/gdb/ravenscar-thread.c
+++ b/gdb/ravenscar-thread.c
@@ -30,7 +30,7 @@
#include "top.h"
#include "regcache.h"
#include "objfiles.h"
-#include <unordered_map>
+#include "gdbsupport/unordered_map.h"
/* This module provides support for "Ravenscar" tasks (Ada) when
debugging on bare-metal targets.
@@ -194,7 +194,7 @@ private:
needed because sometimes the runtime will report an active task
that hasn't yet been put on the list of tasks that is read by
ada-tasks.c. */
- std::unordered_map<ULONGEST, int> m_cpu_map;
+ gdb::unordered_map<ULONGEST, int> m_cpu_map;
};
/* Return true iff PTID corresponds to a ravenscar task. */