]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Use gdb unordered map in gdb_bfd.c
authorTom Tromey <tom@tromey.com>
Tue, 11 Mar 2025 15:31:55 +0000 (09:31 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 18 Mar 2025 11:32:03 +0000 (05:32 -0600)
This changes gdb_bfd.c to use gdb:unordered_map.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/gdb_bfd.c

index c233551b4e8b51ce577ab8fd7e1f8bebdc52ca6c..8380c5377a526d0624d0d34e9469f1016e4686bd 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdbsupport/fileio.h"
 #include "inferior.h"
 #include "cli/cli-style.h"
-#include <unordered_map>
+#include "gdbsupport/unordered_map.h"
 #include "gdbsupport/unordered_set.h"
 
 #if CXX_STD_THREAD
@@ -1207,7 +1207,7 @@ maintenance_info_bfds (const char *arg, int from_tty)
 
 struct bfd_inferior_data
 {
-  std::unordered_map<std::string, unsigned long> bfd_error_string_counts;
+  gdb::unordered_map<std::string, unsigned long> bfd_error_string_counts;
 };
 
 /* Per-inferior data key.  */