[gdbserver] Fix some typos

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.
This commit is contained in:
Tom de Vries
2025-03-06 15:34:43 +01:00
parent 9d3fbbd4c4
commit 606062ac5b
8 changed files with 13 additions and 13 deletions

2
gdbserver/configure vendored
View File

@@ -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.

View 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.

View 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;

View 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--)

View 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. */

View 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)

View 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 */

View File

@@ -32,14 +32,14 @@
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