]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/contrib] Add more separators in spellcheck.sh
authorTom de Vries <tdevries@suse.de>
Tue, 8 Oct 2024 06:24:13 +0000 (08:24 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 8 Oct 2024 06:24:13 +0000 (08:24 +0200)
commit0576fe8146527d871558d82d3e4e99d85f2115a7
tree62f4cb2af514c69276e2da22ffb78ca34bade92a
parent99fd53b19dddeb232e169cc5a3918a2adf7d3da2
[gdb/contrib] Add more separators in spellcheck.sh

Add two more separators in spellcheck.sh: colon and comma.

Doing so triggers the "inbetween->between" rule, which gives an incorrect
result.  Override this with "inbetween->between, in between, in-between" [1],
in a new file gdb/contrib/common-misspellings.txt.

Fix the following common misspellings:
...
everytime -> every time
sucess -> success
thru -> through
transfered -> transferred
inbetween -> between, in between, in-between
...

Verified with spellcheck.sh.  Tested on x86_64-linux.

[1] https://www.grammarly.com/blog/commonly-confused-words/in-between-or-inbetween/
gdb/cli/cli-interp.c
gdb/contrib/common-misspellings.txt [new file with mode: 0644]
gdb/contrib/spellcheck.sh
gdb/exec.h
gdb/testsuite/gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp
gdb/testsuite/gdb.threads/interrupt-while-step-over.exp
gdb/tracepoint.c
gdbserver/server.cc