From: Tom Tromey Date: Tue, 25 Feb 2025 19:02:50 +0000 (-0700) Subject: Use gdb map in mi-cmds.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=383aa019aea415567ff03c24bccd19dbb13e9e0b;p=thirdparty%2Fbinutils-gdb.git Use gdb map in mi-cmds.c This changes mi-cmds.c to use gdb::unordered_map. Approved-By: Simon Marchi --- diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index 02d4dc33ec4..6f39989f051 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 +#include "gdbsupport/unordered_map.h" #include /* MI command table (built at run time). */ -static std::map mi_cmd_table; +static gdb::unordered_map mi_cmd_table; /* MI command with a pure MI implementation. */