]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix more common misspellings
authorTom de Vries <tdevries@suse.de>
Sun, 6 Oct 2024 05:59:48 +0000 (07:59 +0200)
committerTom de Vries <tdevries@suse.de>
Sun, 6 Oct 2024 05:59:48 +0000 (07:59 +0200)
Fix the following common misspellings:
...
addres -> address, adders
behavour -> behavior, behaviour
intented -> intended, indented
ther -> there, their, the
throught -> thought, through, throughout
...

Tested on x86_64-linux.

gdb/amd64-windows-tdep.c
gdb/i386-fbsd-nat.c
gdb/mdebugread.c
gdb/rs6000-aix-tdep.c
gdb/rs6000-lynx178-tdep.c
gdb/stubs/ia64vms-stub.c
gdb/testsuite/gdb.ada/complete.exp
gdb/testsuite/gdb.base/remote.exp
gdb/testsuite/gdb.cp/virtfunc.exp
gdb/ui.c

index 5adc7d57f4bbcae49038d95e8572c4d21fb4d95f..29a1f60d787403230e67939ee7dd6f45caa1b5b0 100644 (file)
@@ -324,7 +324,7 @@ amd64_windows_push_dummy_call
   /* Pass "hidden" argument".  */
   if (return_method == return_method_struct)
     {
-      /* The "hidden" argument is passed throught the first argument
+      /* The "hidden" argument is passed through the first argument
         register.  */
       const int arg_regnum = amd64_windows_dummy_call_integer_regs[0];
 
index f4538fbe407bc5f2cd1ce4270abe9036802884a7..d9f40677ca6d3ffd805212fb63b07d556a1913f5 100644 (file)
@@ -254,7 +254,7 @@ i386_fbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
       request = PT_CONTINUE;
     }
 
-  /* An addres of (caddr_t) 1 tells ptrace to continue from where it
+  /* An address of (caddr_t) 1 tells ptrace to continue from where it
      was.  (If GDB wanted it to start some other way, we have already
      written a new PC value to the child.)  */
   if (ptrace (request, pid, (caddr_t) 1,
index 0d63b9c8d9e23f346106dea6baafbcc4e71a2390..dae4e4d2854ebc1af230cddc1125b50c9e2e3571 100644 (file)
@@ -413,7 +413,7 @@ static struct parse_stack
 
     struct type *cur_type;     /* Type we parse fields for.  */
     int cur_field;             /* Field number in cur_type.  */
-    CORE_ADDR procadr;         /* Start addres of this procedure.  */
+    CORE_ADDR procadr;         /* Start address of this procedure.  */
     int numargs;               /* Its argument count.  */
   }
 
index 3faefe58cebdae33cd6a2b3f39324a73c1771172..3cc0232a691ebf3d12a092025fadd6b6ce9299b7 100644 (file)
@@ -524,7 +524,7 @@ rs6000_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
      on PPC variants that lack them.  */
   gdb_assert (ppc_floating_point_unit_p (gdbarch));
 
-  /* The first eight words of ther arguments are passed in registers.
+  /* The first eight words of the arguments are passed in registers.
      Copy them appropriately.  */
   ii = 0;
 
index 17244b3c45a7f594a956cb152a205ec71d572fb9..a5a6bb934c525e40e6e4eee30495d939a8bdca2b 100644 (file)
@@ -56,7 +56,7 @@ rs6000_lynx178_push_dummy_call (struct gdbarch *gdbarch,
      on PPC variants that lack them.  */
   gdb_assert (ppc_floating_point_unit_p (gdbarch));
 
-  /* The first eight words of ther arguments are passed in registers.
+  /* The first eight words of the arguments are passed in registers.
      Copy them appropriately.  */
   ii = 0;
 
index f04291e9afebff5a842079f1544405033cd8e32d..7e0811999dfa62c26e74706d770d7ebbda07ef95 100644 (file)
@@ -311,7 +311,7 @@ term_raw_write (const char *str, unsigned int len)
     LIB$SIGNAL (status);
 }
 
-/* Flush ther term buffer.  */
+/* Flush the term buffer.  */
 
 static void
 term_flush (void)
index dc3cc4eaa81c83a87714cea55094fffd5026a7cf..6263c4e849a05c70a8075f78cb5ba9fd6b025206 100644 (file)
@@ -214,7 +214,7 @@ test_gdb_complete "ambiguous_f" \
 test_gdb_complete "ambiguous_func" \
                   "p ambiguous_func"
 
-# Perform a test intented to verify the behavior where the number
+# Perform a test intended to verify the behavior where the number
 # of possible completions is very large.  The goal is not to verify
 # precisely the list returned by the complete command (this depends
 # on too many parameters -- targets, compiler version, runtime, etc).
index 015cc56e8bb24e12eec13536b60f5f05ce0712c7..52c4d27cc5f3b6b82242f8ab5351916a1ebbfbf8 100644 (file)
@@ -167,7 +167,7 @@ set sizeof_random_data [get_sizeof "random_data" 48*1024]
 clean_restart $binfile
 
 #
-# Part THREE: Check the upload behavour
+# Part THREE: Check the upload behavior.
 #
 if {![runto_main]} {
     return
index 9add69e699d2b4fefb10cc872cdb8eaca50c1828..636497e9a1d2dbf6ac43d8901b7d7570c3206ae3 100644 (file)
@@ -197,7 +197,7 @@ proc test_virtual_calls {} {
     # wrong value "202"
     #   gcc 2.95.3 -gdwarf-2
     #   gcc 2.95.3 -gstabs+
-    # attempt to take addres of value not located in memory
+    # attempt to take address of value not located in memory
     #   gcc 3.3.2 -gdwarf-2
     #   gcc 3.3.2 -gstabs+
     #
index e5c7965d8dc1f847adbd57b1394b52a248d278b3..88a3a14133f87e83744c9c2a9cd93f9172d96c6e 100644 (file)
--- a/gdb/ui.c
+++ b/gdb/ui.c
@@ -106,7 +106,7 @@ ui::input_interactive_p () const
 
 
 /* When there is an event ready on the stdin file descriptor, instead
-   of calling readline directly throught the callback function, or
+   of calling readline directly through the callback function, or
    instead of calling gdb_readline_no_editing_callback, give gdb a
    chance to detect errors and do something.  */