]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Make gdb.tui 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.tui 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.tui/pr30056.exp
gdb/testsuite/gdb.tui/tui-focus.exp

index a71f7eb62f240161fe5af43f64319464cfc95a4c..6f096dc67ac14d1abfe9f1e10e7f769c881cb399 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|testsuite)))/'
+      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|testsuite|tui)))/'
       args: [--config, gdb/contrib/setup.cfg]
   - repo: local
     hooks:
index 112359354c64360546ff0eabc77d501402fca9ba..3403033b3dbf34cc93539a63a63468ca54f0cc82 100644 (file)
@@ -76,12 +76,12 @@ save_vars { env(LC_ALL) } {
        # open about this.
        kfail cli/30498 $test
 
-       # At this point we don't have a reponsive prompt.  Send ^G to abort
+       # At this point we don't have a responsive prompt.  Send ^G to abort
        # the i-search.
        send_gdb "\007"
     }
 
-    # We need a reponsive prompt here, to deal with the "monitor exit"
+    # We need a responsive prompt here, to deal with the "monitor exit"
     # that native-extended-gdbserver will send.  Check that we have a
     # responsive prompt.
     Term::command "echo \\n"
index 4c9d2a0b41bcc14784e376a3b55b35ab29ea2e47..26e5060636e444a908bee102829313099d09981a 100644 (file)
@@ -73,7 +73,7 @@ foreach spec {{src true} {cmd true} {status true} {regs false} \
     }
 }
 
-# Use the Python TUI API to exercise some of the ambigous window name
+# Use the Python TUI API to exercise some of the ambiguous window name
 # handling parts of the 'focus' command.
 Term::clean_restart 24 80 $binfile
 if {[allow_python_tests]} {