From 478d549db531b8d4b94d7e65965a3760a1e3358d Mon Sep 17 00:00:00 2001 From: Tom Tromey <tom@tromey.com> Date: Tue, 11 Mar 2025 13:50:04 -0600 Subject: Use gdb unordered map in xml-tdesc.c This changes xml-tdesc.c to use gdb::unordered_map. Approved-By: Simon Marchi <simon.marchi@efficios.com> --- gdb/xml-tdesc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/xml-tdesc.c') diff --git a/gdb/xml-tdesc.c b/gdb/xml-tdesc.c index 436c493..f2db429 100644 --- a/gdb/xml-tdesc.c +++ b/gdb/xml-tdesc.c @@ -25,7 +25,7 @@ #include "xml-tdesc.h" #include "osabi.h" #include "filenames.h" -#include <unordered_map> +#include "gdbsupport/unordered_map.h" #include <string> /* Maximum sizes. @@ -64,7 +64,7 @@ tdesc_parse_xml (const char *document, xml_fetch_another fetcher) then we will create unnecessary duplicate gdbarches. See gdbarch_list_lookup_by_info. */ -static std::unordered_map<std::string, target_desc_up> xml_cache; +static gdb::unordered_map<std::string, target_desc_up> xml_cache; /* Callback data for target description parsing. */ -- cgit v1.1