aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-05-20 11:05:54 +0200
committerTom de Vries <tdevries@suse.de>2025-05-20 11:05:54 +0200
commitfe867cc2ef3a757e92fd17b7e77f17b3cb4da70f (patch)
treec8af5e03be7fff86830b1e46ed3267b4b8b047b3
parenta9717d23a944eaae5342305b372693f608e092a2 (diff)
downloadbinutils-fe867cc2ef3a757e92fd17b7e77f17b3cb4da70f.zip
binutils-fe867cc2ef3a757e92fd17b7e77f17b3cb4da70f.tar.gz
binutils-fe867cc2ef3a757e92fd17b7e77f17b3cb4da70f.tar.bz2
[gdb/testsuite] Make gdb.rocm codespell-clean
Make gdb.rocm codespell-clean and add the dir to the pre-commit configuration. Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--gdb/testsuite/gdb.rocm/precise-memory.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 82df791..b54dffa 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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:
diff --git a/gdb/testsuite/gdb.rocm/precise-memory.exp b/gdb/testsuite/gdb.rocm/precise-memory.exp
index fbcb451..6711d80 100644
--- a/gdb/testsuite/gdb.rocm/precise-memory.exp
+++ b/gdb/testsuite/gdb.rocm/precise-memory.exp
@@ -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