]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/cli] Fix typos
authorTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 21:41:32 +0000 (22:41 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 21:41:32 +0000 (22:41 +0100)
Fix typos:
...
gdb/cli/cli-utils.h:85: fuction ==> function
gdb/cli/cli-decode.c:2457: Ambigous ==> Ambiguous
...

gdb/cli/cli-decode.c
gdb/cli/cli-utils.h

index e5de7024ebc8e14469b505e808d1351b51e97ac2..5008b4881fbb9ed540b92268ad84eda5217ea11c 100644 (file)
@@ -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);
index e11430ecb703587092ec4cbe18b9018ce6eb5d91..4832d01875b84ee817ba47c42bbaa96c478c68a3 100644 (file)
@@ -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