]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Make gdb.rocm codespell-clean
authorTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
Make gdb.rocm codespell-clean and add the dir to the pre-commit
configuration.

Approved-By: Tom Tromey <tom@tromey.com>
.pre-commit-config.yaml
gdb/testsuite/gdb.rocm/precise-memory.exp

index 82df7910843397967fad53b8d5d061e01df902cb..b54dffab95b7895e75a2145c85b85d79365bfc9b 100644 (file)
@@ -70,7 +70,7 @@ repos:
     rev: v2.4.1
     hooks:
     - id: codespell
-      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|gdb|go|modula2|objc|opencl|perf|replay|server|stabs|testsuite|tui|xml)))/'
+      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|gdb|go|modula2|objc|opencl|perf|replay|rocm|server|stabs|testsuite|tui|xml)))/'
       args: [--config, gdb/contrib/setup.cfg]
   - repo: local
     hooks:
index fbcb4519be14b5cadbff75d2e7b398e8d4aef920..6711d8069a704e86fb2d304fe3e4254a5e12436e 100644 (file)
@@ -59,7 +59,7 @@ proc do_test { } {
            return
        }
 
-       # Get to the begining of the GPU kernel without precise memory enabled.
+       # Get to the beginning of the GPU kernel without precise memory enabled.
        with_test_prefix "goto gpu code" {
            gdb_test_no_output "set amdgpu precise-memory off"
            gdb_breakpoint "kernel" allow-pending