X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fmi%2Fmi-cmds.h;h=e92737be8c840261bfa004576b02773d16bbb491;hb=3524a83e5950576a807134dde6c180211219e655;hp=8da2e3939197d8c4e74d531e7acea25fafb4fdea;hpb=fdb2b35b8fdbd5a6c136db326c73582dbfb335f8;p=binutils-gdb.git diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h index 8da2e393919..e92737be8c8 100644 --- a/gdb/mi/mi-cmds.h +++ b/gdb/mi/mi-cmds.h @@ -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;