From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 5/7] [pre-commit] Make gdb/features codespell-clean
Date: Tue, 10 Mar 2026 10:18:41 +0100 [thread overview]
Message-ID: <20260310091843.3214063-6-tdevries@suse.de> (raw)
In-Reply-To: <20260310091843.3214063-1-tdevries@suse.de>
Fix typos in gdb/features.
---
.pre-commit-config.yaml | 2 +-
gdb/features/alpha-core.xml | 2 ++
gdb/features/arc/v2-core.xml | 2 +-
gdb/features/i386/32bit-sse.xml | 2 ++
gdb/features/i386/64bit-sse.xml | 2 ++
gdb/features/or1k-core.xml | 2 ++
gdb/features/rs6000/powerpc-602.xml | 2 ++
gdb/features/rx.xml | 2 ++
8 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bb6bc2b4e54..36da0d42ca6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -71,7 +71,7 @@ repos:
rev: v2.4.2
hooks:
- id: codespell
- files: '^(gdbsupport|gdbserver|gdb/(nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/'
+ files: '^(gdbsupport|gdbserver|gdb/(features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/'
args: [--toml, gdb/pyproject.toml]
- id: codespell
name: codespell-log
diff --git a/gdb/features/alpha-core.xml b/gdb/features/alpha-core.xml
index 3ff821a7c24..81b8e2d7efe 100644
--- a/gdb/features/alpha-core.xml
+++ b/gdb/features/alpha-core.xml
@@ -21,6 +21,7 @@
<!-- Floating-Point Control Register Flags -->
<flags id="fpcr_flags" size="8">
+ <!-- codespell:ignore-begin -->
<!-- Denormal Operand Exception Disable -->
<field name="DNOD" start="47" end="47"/>
<!-- Denormal Operands to Zero -->
@@ -53,6 +54,7 @@
<field name="INED" start="62" end="62"/>
<!-- Summary Bit -->
<field name="SUM" start="63" end="63"/>
+ <!-- codespell:ignore-end -->
</flags>
<!-- Integer Registers -->
diff --git a/gdb/features/arc/v2-core.xml b/gdb/features/arc/v2-core.xml
index 1f46a48ddef..402ada26473 100644
--- a/gdb/features/arc/v2-core.xml
+++ b/gdb/features/arc/v2-core.xml
@@ -41,7 +41,7 @@
<!-- Code pointers. R30 is general purpose, but it used to be ILINK2 in
ARCompact, thus its odd position in between of special purpose registers.
- GCC does't use this register, so it isn't a member of a general group. -->
+ GCC doesn't use this register, so it isn't a member of a general group. -->
<reg name="r30" bitsize="32" group=""/>
<reg name="blink" bitsize="32" type="code_ptr"/>
diff --git a/gdb/features/i386/32bit-sse.xml b/gdb/features/i386/32bit-sse.xml
index 16d1a08d5ca..a10a0ce2bab 100644
--- a/gdb/features/i386/32bit-sse.xml
+++ b/gdb/features/i386/32bit-sse.xml
@@ -27,6 +27,7 @@
<field name="uint128" type="uint128"/>
</union>
<flags id="i386_mxcsr" size="4">
+ <!-- codespell:ignore-begin -->
<field name="IE" start="0" end="0"/>
<field name="DE" start="1" end="1"/>
<field name="ZE" start="2" end="2"/>
@@ -41,6 +42,7 @@
<field name="UM" start="11" end="11"/>
<field name="PM" start="12" end="12"/>
<field name="FZ" start="15" end="15"/>
+ <!-- codespell:ignore-end -->
</flags>
<reg name="xmm0" bitsize="128" type="vec128" regnum="32"/>
diff --git a/gdb/features/i386/64bit-sse.xml b/gdb/features/i386/64bit-sse.xml
index ad4a4f292f8..aa4acefa109 100644
--- a/gdb/features/i386/64bit-sse.xml
+++ b/gdb/features/i386/64bit-sse.xml
@@ -27,6 +27,7 @@
<field name="uint128" type="uint128"/>
</union>
<flags id="i386_mxcsr" size="4">
+ <!-- codespell:ignore-begin -->
<field name="IE" start="0" end="0"/>
<field name="DE" start="1" end="1"/>
<field name="ZE" start="2" end="2"/>
@@ -41,6 +42,7 @@
<field name="UM" start="11" end="11"/>
<field name="PM" start="12" end="12"/>
<field name="FZ" start="15" end="15"/>
+ <!-- codespell:ignore-end -->
</flags>
<reg name="xmm0" bitsize="128" type="vec128" regnum="40"/>
diff --git a/gdb/features/or1k-core.xml b/gdb/features/or1k-core.xml
index 0d13f355f52..aa0b213aed0 100644
--- a/gdb/features/or1k-core.xml
+++ b/gdb/features/or1k-core.xml
@@ -42,6 +42,7 @@
<reg name="ppc" bitsize="32" type="code_ptr"/>
<reg name="npc" bitsize="32" type="code_ptr"/>
<flags id="sr_flags" size="4">
+ <!-- codespell:ignore-begin -->
<field name="SM" start="0" end="0"/>
<field name="TEE" start="1" end="1"/>
<field name="IEE" start="2" end="2"/>
@@ -60,6 +61,7 @@
<field name="FO" start="15" end="15"/>
<field name="SUMRA" start="16" end="16"/>
<field name="CID" start="28" end="31"/>
+ <!-- codespell:ignore-end -->
</flags>
<reg name="sr" bitsize="32" type="sr_flags"/>
</feature>
diff --git a/gdb/features/rs6000/powerpc-602.xml b/gdb/features/rs6000/powerpc-602.xml
index 41dae94ea23..dd366c1e7f5 100644
--- a/gdb/features/rs6000/powerpc-602.xml
+++ b/gdb/features/rs6000/powerpc-602.xml
@@ -12,6 +12,7 @@
<xi:include href="power-oea.xml"/>
<feature name="602">
+ <!-- codespell:ignore-begin -->
<reg name="hid0" bitsize="32"/>
<reg name="hid1" bitsize="32"/>
<reg name="iabr" bitsize="32"/>
@@ -22,5 +23,6 @@
<reg name="ser" bitsize="32"/>
<reg name="sp" bitsize="32"/>
<reg name="lt" bitsize="32"/>
+ <!-- codespell:ignore-end -->
</feature>
</target>
diff --git a/gdb/features/rx.xml b/gdb/features/rx.xml
index f425c435f06..a3c506188fa 100644
--- a/gdb/features/rx.xml
+++ b/gdb/features/rx.xml
@@ -40,6 +40,7 @@
</flags>
<flags id="fpsw_flags" size="4">
+ <!-- codespell:ignore-begin -->
<field name="RM0" start="0" end="0"/>
<field name="RM1" start="1" end="1"/>
<field name="CV" start="2" end="2"/>
@@ -60,6 +61,7 @@
<field name="FU" start="29" end="29"/>
<field name="FX" start="30" end="30"/>
<field name="FS" start="31" end="31"/>
+ <!-- codespell:ignore-end -->
</flags>
<reg name="usp" bitsize="32" type="data_ptr"/>
--
2.51.0
next prev parent reply other threads:[~2026-03-10 9:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 9:18 [PATCH 0/7] [pre-commit] Some codespell fixes Tom de Vries
2026-03-10 9:18 ` [PATCH 1/7] [pre-commit] Make codespell:ignore-begin/end non-greedy Tom de Vries
2026-03-10 9:18 ` [PATCH 2/7] [pre-commit] Move gdb/contrib/setup.cfg to gdb/pyproject.toml Tom de Vries
2026-03-10 9:18 ` [PATCH 3/7] [pre-commit] Make gdb/contrib codespell-clean Tom de Vries
2026-03-10 9:18 ` [PATCH 4/7] [pre-commit] Make gdb/nat codespell-clean Tom de Vries
2026-03-10 9:18 ` Tom de Vries [this message]
2026-03-10 9:18 ` [PATCH 6/7] [pre-commit] Make gdb/stubs codespell-clean Tom de Vries
2026-03-10 9:18 ` [PATCH 7/7] [pre-commit] Make gdb/doc codespell-clean Tom de Vries
2026-03-24 15:37 ` [PING][PATCH 0/7] [pre-commit] Some codespell fixes Tom de Vries
2026-04-10 12:38 ` Tom de Vries
2026-04-24 13:20 ` [PING^2][PATCH " Tom de Vries
2026-06-01 12:34 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260310091843.3214063-6-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox