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