]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdbserver] Fix some typos
authorTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 14:34:43 +0000 (15:34 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 14:34:43 +0000 (15:34 +0100)
Fix typos in gdbserver:
...
gdbreplay.cc:444: substract ==> subtract
notif.cc:35: Enque ==> Enqueue
notif.cc:42: enque ==> enqueue
i387-fp.cc:233: simplifed ==> simplified
i387-fp.cc:508: simplifed ==> simplified
linux-arc-low.cc:221: shoudn't ==> shouldn't
linux-sparc-low.cc:112: ans ==> and
linux-ppc-low.cc:1134: Followings ==> Following
linux-ppc-low.cc:1160: Followings ==> Following
linux-ppc-low.cc:1193: Followings ==> Following
linux-ppc-low.cc:1226: Followings ==> Following
configure.ac:141: defintions ==> definitions
...

Regenerate configure from configure.ac using autoconf.

gdbserver/configure
gdbserver/configure.ac
gdbserver/gdbreplay.cc
gdbserver/i387-fp.cc
gdbserver/linux-arc-low.cc
gdbserver/linux-ppc-low.cc
gdbserver/linux-sparc-low.cc
gdbserver/notif.cc

index 7ff11247e51db6c03fefed3fa770dbaf5ad6b334..25b431e8b42c375a7bdfd55ef132262101082322 100755 (executable)
@@ -14083,7 +14083,7 @@ case "${target}" in
     # Starting with NDK version 9, <elf.h> actually includes definitions
     # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
     # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
-    # leading to conflicts with the defintions from <linux/elf.h>.
+    # leading to conflicts with the definitions from <linux/elf.h>.
     # This makes it impossible for us to include both <elf.h> and
     # <linux/elf.h>, which means that, in practice, we do not have
     # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
index 7a15b8fad99fdac9019697d2d213a871e193ad20..2abe93e3b9d008fa27bda2546b2fdb2ee225fc67 100644 (file)
@@ -138,7 +138,7 @@ case "${target}" in
     # Starting with NDK version 9, <elf.h> actually includes definitions
     # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
     # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
-    # leading to conflicts with the defintions from <linux/elf.h>.
+    # leading to conflicts with the definitions from <linux/elf.h>.
     # This makes it impossible for us to include both <elf.h> and
     # <linux/elf.h>, which means that, in practice, we do not have
     # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
index 58e584b06535c9683aaaad145288883161908a10..7f19faf6e454dd794bbce4dc9e30457e1dbb5d4c 100644 (file)
@@ -441,7 +441,7 @@ play (FILE *fp)
     }
 
   /* Packet starts with '+$' or '$', we don't want to calculate those
-     to the checksum, substract the offset to adjust the line length.
+     to the checksum, subtract the offset to adjust the line length.
      If the line starts with '$', the offset remains set to 1.  */
   if (line[0] == '+')
     offset = 2;
index 0bf57a3aa5d83cb43e1b44609d2497e7ba46114b..bb7b2fcc86c340cf1629c2fc09aab9fd604caed8 100644 (file)
@@ -230,7 +230,7 @@ i387_cache_to_fxsave (struct regcache *regcache, void *buf)
   fp->fctrl = regcache_raw_get_unsigned_by_name (regcache, "fctrl");
   fp->fstat = regcache_raw_get_unsigned_by_name (regcache, "fstat");
 
-  /* Convert to the simplifed tag form stored in fxsave data.  */
+  /* Convert to the simplified tag form stored in fxsave data.  */
   val = regcache_raw_get_unsigned_by_name (regcache, "ftag");
   val2 = 0;
   for (i = 7; i >= 0; i--)
@@ -505,7 +505,7 @@ i387_cache_to_xsave (struct regcache *regcache, void *buf)
          fp->fstat = val;
        }
 
-      /* Convert to the simplifed tag form stored in fxsave data.  */
+      /* Convert to the simplified tag form stored in fxsave data.  */
       val = regcache_raw_get_unsigned_by_name (regcache, "ftag");
       val2 = 0;
       for (i = 7; i >= 0; i--)
index 16d8d5824aa2f075f9d7920d48d121ddcbb84466..2d408bf71d0bd6afffa56336e2173bc7651c3b38 100644 (file)
@@ -218,7 +218,7 @@ arc_fill_gregset (struct regcache *regcache, void *buf)
   collect_register_by_name (regcache, "pc", &(regbuf->scratch.ret));
 
   /* Currently ARC Linux ptrace doesn't allow writes to status32 because
-     some of its bits are kernel mode-only and shoudn't be writable from
+     some of its bits are kernel mode-only and shouldn't be writable from
      user-space.  Writing status32 from debugger could be useful, though,
      so ability to write non-privileged bits will be added to kernel
      sooner or later.  */
index 3ce978f4c7cf64ab1199143107b7f677fc3c2376..4fd0ebe7aeef36191e61c26e5518b9a905f16654 100644 (file)
@@ -1131,7 +1131,7 @@ gen_ds_form (uint32_t *buf, int opcd, int rst, int ra, int ds, int xo)
   return 1;
 }
 
-/* Followings are frequently used ds-form instructions.  */
+/* Following are frequently used ds-form instructions.  */
 
 #define GEN_STD(buf, rs, ra, offset)   gen_ds_form (buf, 62, rs, ra, offset, 0)
 #define GEN_STDU(buf, rs, ra, offset)  gen_ds_form (buf, 62, rs, ra, offset, 1)
@@ -1157,7 +1157,7 @@ gen_d_form (uint32_t *buf, int opcd, int rst, int ra, int si)
   return 1;
 }
 
-/* Followings are frequently used d-form instructions.  */
+/* Following are frequently used d-form instructions.  */
 
 #define GEN_ADDI(buf, rt, ra, si)      gen_d_form (buf, 14, rt, ra, si)
 #define GEN_ADDIS(buf, rt, ra, si)     gen_d_form (buf, 15, rt, ra, si)
@@ -1190,7 +1190,7 @@ gen_xfx_form (uint32_t *buf, int opcd, int rst, int ri, int xo)
   return 1;
 }
 
-/* Followings are frequently used xfx-form instructions.  */
+/* Following are frequently used xfx-form instructions.  */
 
 #define GEN_MFSPR(buf, rt, spr)                gen_xfx_form (buf, 31, rt, spr, 339)
 #define GEN_MTSPR(buf, rt, spr)                gen_xfx_form (buf, 31, rt, spr, 467)
@@ -1223,7 +1223,7 @@ gen_x_form (uint32_t *buf, int opcd, int rst, int ra, int rb, int xo, int rc)
   return 1;
 }
 
-/* Followings are frequently used x-form instructions.  */
+/* Following are frequently used x-form instructions.  */
 
 #define GEN_OR(buf, ra, rs, rb)                gen_x_form (buf, 31, rs, ra, rb, 444, 0)
 #define GEN_MR(buf, ra, rs)            GEN_OR (buf, ra, rs, rs)
index 4192bd3984ef16aff1d60b9201041d91750fd407..1ad4122063aedb09aaecb4e74836691e16f1c64c 100644 (file)
@@ -109,7 +109,7 @@ static int sparc_regmap[] = {
    17 *8, /*    pc */
    18 *8, /*   npc */
    16 *8, /* state */
-  /* FSR offset also corresponds to GET/SETFPREGSET, ans is placed
+  /* FSR offset also corresponds to GET/SETFPREGSET, and is placed
      next to f62.  */
    32 *8, /*   fsr */
       -1, /*  fprs */
index dac3c3b1bab0f4c4b588770c41ba921464f7cdf2..60478dc618e20c06e470279bc944f9987eb9659b 100644 (file)
    1.  At any time, when something interesting FOO happens, a object
    of 'struct notif_event' or its sub-class EVENT is created for FOO.
 
-   2.  Enque EVENT to the 'queue' field of 'struct notif_server' for
+   2.  Enqueue EVENT to the 'queue' field of 'struct notif_server' for
    FOO and send corresponding notification packet to GDB if EVENT is
    the first one.
    #1 and #2 are done by function 'notif_push'.
 
    3.  EVENT is not deque'ed until the ack of FOO from GDB arrives.
    Before ack of FOO arrives, FOO happens again, a new object of
-   EVENT is created and enque EVENT silently.
+   EVENT is created and enqueue EVENT silently.
    Once GDB has a chance to ack to FOO, it sends an ack to GDBserver,
    and GDBserver repeatedly sends events to GDB and gets ack of FOO,
    until queue is empty.  Then, GDBserver sends 'OK' to GDB that all