[10/10] Use gdb map in mi-cmds.c
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
Commit Message
This changes mi-cmds.c to use gdb::unordered_map.
---
gdb/mi/mi-cmds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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. */