gdb/mi: rename mi_lookup to mi_cmd_lookup
[binutils-gdb.git] / gdb / mi / mi-cmds.h
index 8da2e3939197d8c4e74d531e7acea25fafb4fdea..e92737be8c840261bfa004576b02773d16bbb491 100644 (file)
@@ -164,9 +164,10 @@ struct mi_cmd
   int *suppress_notification;
 };
 
-/* Lookup a command in the MI command table.  */
+/* Lookup a command in the MI command table, returns nullptr if COMMAND is
+   not found.  */
 
-extern struct mi_cmd *mi_lookup (const char *command);
+extern struct mi_cmd *mi_cmd_lookup (const char *command);
 
 /* Debug flag */
 extern int mi_debug_p;