[Bug build/34241] [gdb/build] Codespell word regexp refinement

"cvs-commit at gcc dot gnu.org via Gdb-prs" <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34241

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

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

commit ca3dd1c6af1e254e9ee9ace9899a03f3a013d725
Author: Tom de Vries <[email protected]>
Date:   Mon Jul 13 15:23:12 2026 +0200

    [gdb] More codespell fixes

    I did this in gdb/pyproject.toml:
    ...
    +regex = "[a-zA-Z0-9\\-']+"
    ...
    allowing us to detect things like 'gcs_availabe':
    ...
    $ echo gcs_availabe | codespell --regex="[a-zA-Z0-9\-']+" -
    1: gcs_availabe
            availabe ==> available
    ...
    and ran:
    ...
    $ codespell --toml gdb/pyproject.toml gdb*
    ...
    and manually fixed fallout.

    This fixes the following typos:
    ...
      typdef -> typedef
      bloc -> block
      reenables -> re-enables
      overlayed -> overlaid
      advertized -> advertised
      stript -> script
      reenable -> re-enable
      interruptable -> interruptible
      restire -> restore
      sufix -> suffix
      regisers -> registers
      constrait -> constraint
      attriute -> attribute
      followin -> following
      immedate -> immediate
      constrol -> control
      sting -> string
      vesion -> version
      operatons -> operations
      inheritence -> inheritance
      decsription -> description
      hilighted -> highlighted
      enque -> enqueue
      ouputs -> outputs
    ...

    The "vesion -> version" fix in gdb.dwarf2/dw2-entry-pc.exp allowed a bit of
    cleanup.

    Tested on x86_64-linux and aarch64-linux.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.