diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-13 22:38:19 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-13 22:38:19 +0100 |
commit | 5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0 (patch) | |
tree | 02739297d2ffb812315ecc3ed18d8af3b2842ad1 /gdb/i386-linux-nat.c | |
parent | 74b9033e6f79dcc4947af7756c6e2aed96986504 (diff) | |
download | binutils-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.zip binutils-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.tar.gz binutils-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.tar.bz2 |
[gdb/contrib] Handle capitalized words in spellcheck.sh
The dictionary contains a few entries with capital letters:
...
$ grep -E '[A-Z]' .git/wikipedia-common-misspellings.txt | wc -l
143
...
but they don't look too interesting in the gdb context (for instance,
Habsbourg->Habsburg), so filter them out.
That leaves us with entries looking only like "foobat->foobar", so add
handling of capitalized words, such that we also rewrite "Foobat" to "Foobar".
Tested on aarch64-linux. Verified with shellcheck.
Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 41c1113..d2cbe51 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -137,7 +137,7 @@ store_register (const struct regcache *regcache, int regno) } -/* Transfering the general-purpose registers between GDB, inferiors +/* Transferring the general-purpose registers between GDB, inferiors and core files. */ /* Fill GDB's register array with the general-purpose register values @@ -234,7 +234,7 @@ static void store_regs (const struct regcache *regcache, int tid, int regno) {} #endif -/* Transfering floating-point registers between GDB, inferiors and cores. */ +/* Transferring floating-point registers between GDB, inferiors and cores. */ /* Fill GDB's register array with the floating-point register values in *FPREGSETP. */ @@ -304,7 +304,7 @@ store_fpregs (const struct regcache *regcache, int tid, int regno) #endif -/* Transfering floating-point and SSE registers to and from GDB. */ +/* Transferring floating-point and SSE registers to and from GDB. */ /* Fetch all registers covered by the PTRACE_GETREGSET request from process/thread TID and store their values in GDB's register array. |