aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-06 22:41:32 +0100
committerTom de Vries <tdevries@suse.de>2025-03-06 22:41:32 +0100
commit6fdebf12af6ee148e42bf10a0745a6e0a88b9144 (patch)
tree112e701cdb8a329bb740204967daa185e826fbf7
parent6fc2ce19fc7eb1a7f9f13fec1c344df3b1c1b0f5 (diff)
downloadbinutils-6fdebf12af6ee148e42bf10a0745a6e0a88b9144.zip
binutils-6fdebf12af6ee148e42bf10a0745a6e0a88b9144.tar.gz
binutils-6fdebf12af6ee148e42bf10a0745a6e0a88b9144.tar.bz2
[gdb/cli] Fix typos
Fix typos: ... gdb/cli/cli-utils.h:85: fuction ==> function gdb/cli/cli-decode.c:2457: Ambigous ==> Ambiguous ...
-rw-r--r--gdb/cli/cli-decode.c2
-rw-r--r--gdb/cli/cli-utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index e5de702..5008b48 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 e11430e..4832d01 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