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-parse.c | |
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-parse.c')
-rw-r--r-- | gdb/mi/mi-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index 4d6afa9..b5b01cf 100644 --- a/gdb/mi/mi-parse.c +++ b/gdb/mi/mi-parse.c @@ -272,7 +272,7 @@ mi_parse (const char *cmd, char **token) } /* Find the command in the MI table. */ - parse->cmd = mi_lookup (parse->command); + parse->cmd = mi_cmd_lookup (parse->command); if (parse->cmd == NULL) throw_error (UNDEFINED_COMMAND_ERROR, _("Undefined MI command: %s"), parse->command); |