forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user