[binutils-gdb] [gdb/cli] Fix typos

Tom de Vries vries@sourceware.org
Thu Mar 6 21:41:23 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6fdebf12af6ee148e42bf10a0745a6e0a88b9144

commit 6fdebf12af6ee148e42bf10a0745a6e0a88b9144
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Mar 6 22:41:32 2025 +0100

    [gdb/cli] Fix typos
    
    Fix typos:
    ...
    gdb/cli/cli-utils.h:85: fuction ==> function
    gdb/cli/cli-decode.c:2457: Ambigous ==> Ambiguous
    ...

Diff:
---
 gdb/cli/cli-decode.c | 2 +-
 gdb/cli/cli-utils.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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


More information about the Gdb-cvs mailing list