From aeeb41fcf7c9c3aec7333980fb24c633e7940ebd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 11 Mar 2025 11:22:23 -0600 Subject: [PATCH] Use gdb unordered map in ravenscar.c This changes ravenscar.c to use gdb::unordered_map. Approved-By: Simon Marchi --- gdb/ravenscar-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 47db72b2d69..dae69175efc 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 +#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 m_cpu_map; + gdb::unordered_map m_cpu_map; }; /* Return true iff PTID corresponds to a ravenscar task. */ -- 2.47.2