Files
binutils-gdb/gdb/contrib/setup.cfg
Tom de Vries 0518fa417d [gdb/testsuite] Fix gdbsever typo
I noticed a typo in the testsuite, twice: gdbsever.  Fix these.

Codespell doesn't detect it, so add a new file
gdb/contrib/codespell-dictionary.txt that contains a gdbsever->gdbserver
entry, and update gdb/contrib/setup.cfg to use it.

Approved-By: Tom Tromey <tom@tromey.com>
2025-05-20 11:05:54 +02:00

20 lines
877 B
INI

[codespell]
# Skip ChangeLogs and generated files.
skip = */ChangeLog*,*/configure,gdbsupport/Makefile.in,*.dat,*.eps,gdb/features/*.c,gdb/ada-casefold.h,gdb/copying.c,gdb/gdbarch-gen.h,gdb/gdbarch-gen.c,gdb/target-delegates-gen.c
ignore-words = gdb/contrib/codespell-ignore-words.txt
dictionary = gdb/contrib/codespell-dictionary.txt,-
# Ignore all URLs.
uri-ignore-words-list = *
# This codespell issue (
# https://github.com/codespell-project/codespell/issues/3381 ) reports the
# need to have support for ignoring blocks of code.
# A suggestion there is to use ignore-multiline-regex, which does work, but
# has a bug: using -w drops all newlines in the updated files (
# https://github.com/codespell-project/codespell/issues/3642 ).
# Consequently, disabled. To be enabled when the bug is fixed.
#ignore-multiline-regex = codespell:ignore-begin.*codespell:ignore-end