gdb/mi: rename mi_lookup to mi_cmd_lookup
[binutils-gdb.git] / gdb / mi / mi-cmd-info.c
index 78377dc32e752262d1395c5abc3388487dcbf2ec..c2858519a4ca4100af9e8770c85d271098cbd2ac 100644 (file)
@@ -82,7 +82,7 @@ mi_cmd_info_gdb_mi_command (const char *command, char **argv, int argc)
   if (cmd_name[0] == '-')
     cmd_name++;
 
-  cmd = mi_lookup (cmd_name);
+  cmd = mi_cmd_lookup (cmd_name);
 
   ui_out_emit_tuple tuple_emitter (uiout, "command");
   uiout->field_string ("exists", cmd != NULL ? "true" : "false");