From: Tom Tromey Date: Tue, 11 Mar 2025 17:22:23 +0000 (-0600) Subject: Use gdb unordered map in ravenscar.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aeeb41fcf7c9c3aec7333980fb24c633e7940ebd;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered map in ravenscar.c This changes ravenscar.c to use gdb::unordered_map. Approved-By: Simon Marchi --- 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. */