[binutils-gdb] [gdb] Expand dirs in codespell skip list

Tom de Vries via Gdb-cvs <[email protected]> Mon, 15 Jun 2026 12:33:16 +0000 (GMT)
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6926c5e74586d1eb64bfe586b15b630bfa8b0bd2

commit 6926c5e74586d1eb64bfe586b15b630bfa8b0bd2
Author: Tom de Vries <[email protected]>
Date:   Mon Jun 15 14:33:06 2026 +0200

    [gdb] Expand dirs in codespell skip list
    
    Replace all dirs in the codespell skip list with the actual files that are not
    codespell-clean.  At this point, there's just ~60 of them.
    
    This enables codespell checking for yet more files.

Diff:
---
 gdb/pyproject.toml | 82 +++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 65 insertions(+), 17 deletions(-)

diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml
index 5a2ec90da15..d6b3892ae4f 100644
--- a/gdb/pyproject.toml
+++ b/gdb/pyproject.toml
@@ -74,23 +74,71 @@ skip = [
 'gdbserver/aclocal.m4',
 'gdbsupport/aclocal.m4',
 # TODO:
-'gdb/testsuite/config/*',
-'gdb/testsuite/gdb.ada/*',
-'gdb/testsuite/gdb.arch/*',
-'gdb/testsuite/gdb.asm/*',
-'gdb/testsuite/gdb.base/*',
-'gdb/testsuite/gdb.btrace/*',
-'gdb/testsuite/gdb.compile/*',
-'gdb/testsuite/gdb.cp/*',
-'gdb/testsuite/gdb.disasm/*',
-'gdb/testsuite/gdb.dlang/*',
-'gdb/testsuite/gdb.dwarf2/*',
-'gdb/testsuite/gdb.fortran/*',
-'gdb/testsuite/gdb.linespec/*',
-'gdb/testsuite/gdb.python/*',
-'gdb/testsuite/gdb.threads/*',
-'gdb/testsuite/gdb.trace/*',
-'gdb/testsuite/lib/*'
+# codespell:ignore-begin.  Ignore slite and endianity.
+'gdb/testsuite/config/slite.exp',
+'gdb/testsuite/gdb.ada/pkd_arr_elem/failure.adb',
+'gdb/testsuite/gdb.ada/str_ref_cmp.exp',
+'gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c',
+'gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.S',
+'gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c',
+'gdb/testsuite/gdb.arch/pa64-nullify.s',
+'gdb/testsuite/gdb.arch/powerpc-altivec.exp',
+'gdb/testsuite/gdb.arch/powerpc-altivec.s',
+'gdb/testsuite/gdb.arch/s390-multiarch.exp',
+'gdb/testsuite/gdb.arch/s390-tdbregs.exp',
+'gdb/testsuite/gdb.asm/bfin.inc',
+'gdb/testsuite/gdb.asm/pa64.inc',
+'gdb/testsuite/gdb.base/alias.exp',
+'gdb/testsuite/gdb.base/call-sc.c',
+'gdb/testsuite/gdb.base/call-sc.exp',
+'gdb/testsuite/gdb.base/completion.exp',
+'gdb/testsuite/gdb.base/dump.c',
+'gdb/testsuite/gdb.base/dump.exp',
+'gdb/testsuite/gdb.base/endianity.exp',
+'gdb/testsuite/gdb.base/ending-run.exp',
+'gdb/testsuite/gdb.base/filename-completion.exp',
+'gdb/testsuite/gdb.base/options.exp',
+'gdb/testsuite/gdb.base/reggroups.exp',
+'gdb/testsuite/gdb.base/settings.exp',
+'gdb/testsuite/gdb.base/so-impl-ld.exp',
+'gdb/testsuite/gdb.base/solib1.c',
+'gdb/testsuite/gdb.base/stap-probe.exp',
+'gdb/testsuite/gdb.base/structs.c',
+'gdb/testsuite/gdb.base/watchpoint-unaligned.exp',
+'gdb/testsuite/gdb.btrace/event-tracing-gap.c',
+'gdb/testsuite/gdb.compile/compile-cplus-member.cc',
+'gdb/testsuite/gdb.compile/compile-cplus-member.exp',
+'gdb/testsuite/gdb.cp/anon-ns.exp',
+'gdb/testsuite/gdb.cp/cpcompletion.exp',
+'gdb/testsuite/gdb.cp/koenig.cc',
+'gdb/testsuite/gdb.cp/koenig.exp',
+'gdb/testsuite/gdb.cp/namespace.exp',
+'gdb/testsuite/gdb.cp/static-method.exp',
+'gdb/testsuite/gdb.cp/virtfunc.exp',
+'gdb/testsuite/gdb.disasm/h8300s.exp',
+'gdb/testsuite/gdb.disasm/h8300s.s',
+'gdb/testsuite/gdb.disasm/t06_ari2.exp',
+'gdb/testsuite/gdb.disasm/t06_ari2.s',
+'gdb/testsuite/gdb.disasm/t11_logs.exp',
+'gdb/testsuite/gdb.disasm/t11_logs.s',
+'gdb/testsuite/gdb.dlang/demangle.exp',
+'gdb/testsuite/gdb.dwarf2/dw2-inline-many-frames.c',
+'gdb/testsuite/gdb.dwarf2/dw2-inline-stepping.c',
+'gdb/testsuite/gdb.fortran/class-allocatable-array.f90',
+'gdb/testsuite/gdb.fortran/oop_extend_type.exp',
+'gdb/testsuite/gdb.fortran/oop_extend_type.f90',
+'gdb/testsuite/gdb.fortran/ptype-on-functions.f90',
+'gdb/testsuite/gdb.linespec/cpls-ops.exp',
+'gdb/testsuite/gdb.python/py-finish-breakpoint-inline.c',
+'gdb/testsuite/gdb.python/py-format-string.exp',
+'gdb/testsuite/gdb.python/py-unwind-inline.c',
+'gdb/testsuite/gdb.threads/thread-find.exp',
+'gdb/testsuite/gdb.trace/unavailable-dwarf-piece.c',
+'gdb/testsuite/lib/gdb.exp',
+'gdb/testsuite/lib/gdb-utils.exp',
+'gdb/testsuite/lib/pdtrace.in',
+'gdb/testsuite/lib/rust-support.exp'
+# codespell:ignore-end
 ]
 
 ignore-words = 'gdb/contrib/codespell-ignore-words.txt'