]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/contrib] Add two rules in common-misspellings.txt
authorTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 11:20:34 +0000 (12:20 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 11:20:34 +0000 (12:20 +0100)
commitac51afb51c00693bb19c6a6110e9a45d2e4f79b7
treeb2fcf9ded59d04633dbb406083e2814c34e4e468
parent63eedf3b09f73077ecff2118f45d1adb1391eddd
[gdb/contrib] Add two rules in common-misspellings.txt

Eli mentioned [1] that given that we use US English spelling in our
documentation, we should use "behavior" instead of "behaviour".

In wikipedia-common-misspellings.txt there's a rule:
...
behavour->behavior, behaviour
...
which leaves this as a choice.

Add an overriding rule to hardcode the choice to common-misspellings.txt:
...
behavour->behavior
...
and add a rule to rewrite behaviour into behavior:
...
behaviour->behavior
...
and re-run spellcheck.sh on gdb*.

Tested on x86_64-linux.

[1] https://sourceware.org/pipermail/gdb-patches/2024-November/213371.html
84 files changed:
gdb/NEWS
gdb/SECURITY.txt
gdb/aarch64-tdep.c
gdb/amd64-tdep.c
gdb/annotate.h
gdb/arch-utils.c
gdb/arm-tdep.c
gdb/auto-load.c
gdb/break-cond-parse.c
gdb/c-lang.c
gdb/configure
gdb/configure.ac
gdb/contrib/common-misspellings.txt
gdb/contrib/gdb-add-index.sh
gdb/corelow.c
gdb/doc/gdb.texinfo
gdb/doc/python.texi
gdb/dwarf2/frame.c
gdb/event-top.c
gdb/extension.c
gdb/extension.h
gdb/f-array-walker.h
gdb/gdbthread.h
gdb/guile/scm-auto-load.c
gdb/guile/scm-lazy-string.c
gdb/i386-tdep.c
gdb/infcall.c
gdb/infrun.c
gdb/language.h
gdb/location.c
gdb/mdebugread.c
gdb/mi/mi-main.c
gdb/opencl-lang.c
gdb/python/py-auto-load.c
gdb/python/py-connection.c
gdb/python/py-disasm.c
gdb/python/py-framefilter.c
gdb/python/py-lazy-string.c
gdb/record-btrace.c
gdb/remote-fileio.c
gdb/rs6000-tdep.c
gdb/source.c
gdb/symtab.c
gdb/target.h
gdb/testsuite/Makefile.in
gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c
gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.exp
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp
gdb/testsuite/gdb.base/bt-on-fatal-signal.exp
gdb/testsuite/gdb.base/cached-source-file.exp
gdb/testsuite/gdb.base/callexit.exp
gdb/testsuite/gdb.base/condbreak.exp
gdb/testsuite/gdb.base/define-prefix.exp
gdb/testsuite/gdb.base/exitsignal.exp
gdb/testsuite/gdb.base/until-trailing-insns.exp
gdb/testsuite/gdb.base/wrap-line.exp
gdb/testsuite/gdb.btrace/ptwrite.exp
gdb/testsuite/gdb.cp/empty-enum.exp
gdb/testsuite/gdb.cp/gdb2495.exp
gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c
gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp
gdb/testsuite/gdb.dlang/expression.exp
gdb/testsuite/gdb.dwarf2/dw2-inline-header-2.exp
gdb/testsuite/gdb.dwarf2/dw2-inline-stepping.c
gdb/testsuite/gdb.dwarf2/dw2-missing-cu-tag.exp
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
gdb/testsuite/gdb.dwarf2/dw2-using-debug-str.exp
gdb/testsuite/gdb.fortran/array-slices.exp
gdb/testsuite/gdb.fortran/nested-funcs-2.exp
gdb/testsuite/gdb.mi/mi-condbreak-throw.exp
gdb/testsuite/gdb.mi/mi-vla-fortran.exp
gdb/testsuite/gdb.server/non-existing-program.exp
gdb/testsuite/gdb.server/target-exec-file.exp
gdb/testsuite/gdb.threads/slow-waitpid.c
gdb/testsuite/lib/read1.c
gdb/top.h
gdb/tui/tui-regs.c
gdb/ui-file.h
gdb/varobj.c
gdbserver/server.cc
gdbsupport/aclocal.m4
gdbsupport/configure
gdbsupport/parallel-for.h