diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-11 09:32:33 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-03-18 05:32:03 -0600 |
commit | c2c9928fe677aa0ca2c82b3de61478b54bbac4f0 (patch) | |
tree | 9c41b8fd608b0a67be6d8a1f4f357ab64db0ea42 /gdb | |
parent | 33f1e7e899b98bcccf009e2272040d0ccf662681 (diff) | |
download | binutils-c2c9928fe677aa0ca2c82b3de61478b54bbac4f0.zip binutils-c2c9928fe677aa0ca2c82b3de61478b54bbac4f0.tar.gz binutils-c2c9928fe677aa0ca2c82b3de61478b54bbac4f0.tar.bz2 |
Use gdb unordered set in symtab.c
This changes symtab.c to use gdb:unordered_set.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index aa09706..06e2cd5 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -75,7 +75,7 @@ #include "gdbsupport/pathstuff.h" #include "gdbsupport/common-utils.h" #include <optional> -#include <unordered_set> +#include "gdbsupport/unordered_set.h" /* Forward declarations for local functions. */ @@ -5623,7 +5623,7 @@ rbreak_command (const char *regexp, int from_tty) spec.add_filename (std::move (file_name)); std::vector<symbol_search> symbols = spec.search (); - std::unordered_set<std::string> seen_names; + gdb::unordered_set<std::string> seen_names; scoped_rbreak_breakpoints finalize; int err_count = 0; |