From: Tom de Vries Date: Thu, 6 Mar 2025 21:41:32 +0000 (+0100) Subject: [gdb/cli] Fix typos X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fdebf12af6ee148e42bf10a0745a6e0a88b9144;p=thirdparty%2Fbinutils-gdb.git [gdb/cli] Fix typos Fix typos: ... gdb/cli/cli-utils.h:85: fuction ==> function gdb/cli/cli-decode.c:2457: Ambigous ==> Ambiguous ... --- diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index e5de7024ebc..5008b4881fb 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -2452,7 +2452,7 @@ lookup_cmd (const char **line, struct cmd_list_element *list, } else if (c == CMD_LIST_AMBIGUOUS) { - /* Ambigous. Local values should be off subcommands or called + /* Ambiguous. Local values should be off subcommands or called values. */ int local_allow_unknown = (last_list ? last_list->allow_unknown : allow_unknown); diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h index e11430ecb70..4832d01875b 100644 --- a/gdb/cli/cli-utils.h +++ b/gdb/cli/cli-utils.h @@ -82,7 +82,7 @@ public: /* STRING is the string to be parsed. */ void init (const char *string); - /* While processing a range, this fuction is called iteratively; At + /* While processing a range, this function is called iteratively; At each call it will return the next value in the range. At the beginning of parsing a range, the char pointer