]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[pre-commit] Make gdb/nat codespell-clean
authorTom de Vries <tdevries@suse.de>
Mon, 1 Jun 2026 12:33:48 +0000 (14:33 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 1 Jun 2026 12:33:48 +0000 (14:33 +0200)
Fix typos in gdb/nat, and add "fpr" to gdb/contrib/codespell-ignore-words.txt.

.pre-commit-config.yaml
gdb/contrib/codespell-ignore-words.txt
gdb/nat/linux-btrace.c

index aa41d17b6ee9728adb8371f8595a7a0a9c1ebfa2..12b9561e870fe8335bf948420d912a2be175dbfd 100644 (file)
@@ -71,7 +71,7 @@ repos:
     rev: v2.4.2
     hooks:
     - id: codespell
-      files: '^(gdbsupport|gdbserver|gdb/(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/(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
index c07df0c001d9a95238cb564c1ea6cb967d75173e..c86bd3f0972fe68cc238fb518ba8f55f1f82d17e 100644 (file)
@@ -2,3 +2,4 @@ configury
 SME
 Synopsys
 aranges
+fpr
index 046372da7457781c2de056d3deb073dd72e51801..2e0c2eedfbb453cc1142ac2d43980b35ad7a3180 100644 (file)
@@ -99,7 +99,7 @@ btrace_this_cpu (void)
   return cpu;
 }
 
-/* Return non-zero if there is new data in PEVENT; zero otherwise.  */
+/* Return non-zero if there is new data in PEV; zero otherwise.  */
 
 static int
 perf_event_new_data (const struct perf_event_buffer *pev)