diff options
author | Tom Tromey <tom@tromey.com> | 2025-02-25 12:02:50 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-03-11 08:40:07 -0600 |
commit | 383aa019aea415567ff03c24bccd19dbb13e9e0b (patch) | |
tree | 3858684f36340cf9b63bb63467bbbeb37d3043fa /gdb | |
parent | 0c9953e0e07173f172c0994302d062a57dae57b0 (diff) | |
download | binutils-383aa019aea415567ff03c24bccd19dbb13e9e0b.zip binutils-383aa019aea415567ff03c24bccd19dbb13e9e0b.tar.gz binutils-383aa019aea415567ff03c24bccd19dbb13e9e0b.tar.bz2 |
Use gdb map in mi-cmds.c
This changes mi-cmds.c to use gdb::unordered_map.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/mi/mi-cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index 02d4dc3..6f39989 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -21,12 +21,12 @@ #include "mi-cmds.h" #include "mi-main.h" #include "mi-parse.h" -#include <map> +#include "gdbsupport/unordered_map.h" #include <string> /* MI command table (built at run time). */ -static std::map<std::string, mi_command_up> mi_cmd_table; +static gdb::unordered_map<std::string, mi_command_up> mi_cmd_table; /* MI command with a pure MI implementation. */ |