diff options
author | Jan Vrany <jan.vrany@labware.com> | 2021-11-08 10:46:07 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2021-12-14 10:34:58 +0000 |
commit | 3524a83e5950576a807134dde6c180211219e655 (patch) | |
tree | 1b24cc6bf5d45c3b320d1a21f61c58b678a0a08f /gdb/mi/mi-cmds.h | |
parent | fdb2b35b8fdbd5a6c136db326c73582dbfb335f8 (diff) | |
download | gdb-3524a83e5950576a807134dde6c180211219e655.zip gdb-3524a83e5950576a807134dde6c180211219e655.tar.gz gdb-3524a83e5950576a807134dde6c180211219e655.tar.bz2 |
gdb/mi: rename mi_lookup to mi_cmd_lookup
Lets give this function a more descriptive name. I've also improved
the comments in the header and source files.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
-rw-r--r-- | gdb/mi/mi-cmds.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h index 8da2e39..e92737b 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; |