diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-11 09:31:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-03-18 05:32:03 -0600 |
commit | 33f1e7e899b98bcccf009e2272040d0ccf662681 (patch) | |
tree | e7f03bed537bf9f7d8a14eff379ce5ed9fbb2639 /gdb/gdb_bfd.c | |
parent | 39e99b6a7f97274ab4cc03cb5962686f30161010 (diff) | |
download | binutils-33f1e7e899b98bcccf009e2272040d0ccf662681.zip binutils-33f1e7e899b98bcccf009e2272040d0ccf662681.tar.gz binutils-33f1e7e899b98bcccf009e2272040d0ccf662681.tar.bz2 |
Use gdb unordered map in gdb_bfd.c
This changes gdb_bfd.c to use gdb:unordered_map.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/gdb_bfd.c')
-rw-r--r-- | gdb/gdb_bfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index c233551..8380c53 100644 --- a/gdb/gdb_bfd.c +++ b/gdb/gdb_bfd.c @@ -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. */ |