[Bug build/34291] [gdb/build] codespell warnings on iso-8859-1 encoded source files

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Jun 18 15:53:48 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34291

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cdfda31c0d6b85cfff7fddeabffa570176161548

commit cdfda31c0d6b85cfff7fddeabffa570176161548
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Jun 18 17:53:43 2026 +0200

    [gdb] Ignore codespell warnings about wrong encodings

    With "pre-commit run codespell --all-files -v" we get warnings:
    ...
    $ pre-commit run codespell --all-files -v
   
codespell................................................................Passed
    - hook id: codespell
    - duration: 1.52s

    WARNING: Cannot decode file using encoding "utf-8": \
      gdb/testsuite/gdb.ada/non-ascii-latin-1/pack.adb
    WARNING: Trying next encoding "iso-8859-1"
    ...

    Disable these by setting quiet-level in gdb/pyproject.toml.

    Approved-By: Tom Tromey <tom@tromey.com>

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34291

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list