forked from Imagelibrary/binutils-gdb
[gdb/testsuite] Make gdb.reverse codespell-clean
Make gdb.reverse codespell-clean and add the dir to the pre-commit configuration. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@@ -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|rocm|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|reverse|rocm|server|stabs|testsuite|tui|xml)))/'
|
||||
args: [--config, gdb/contrib/setup.cfg]
|
||||
- repo: local
|
||||
hooks:
|
||||
|
||||
@@ -397,7 +397,7 @@ gdb_test_no_output "set \$ymm15.v2_int128 = {0x0, 0xcafeface}" "set ymm15 for vp
|
||||
if {[record_full_function "vzeroupper"] == true} {
|
||||
# Since vzeroupper needs to save 8 or 16 registers, let's check what was
|
||||
# actually recorded, instead of just undoing an instruction. Only
|
||||
# really check the values of egisters 0, 1, 2 and 15 because those are
|
||||
# really check the values of registers 0, 1, 2 and 15 because those are
|
||||
# the only ones we're setting.
|
||||
gdb_test "maint print record-instruction" \
|
||||
[multi_line "Register ymm0h changed: 74565" \
|
||||
|
||||
@@ -140,7 +140,7 @@ gdb_test_multiple "reverse-step" "reverse-step into solib function one" {
|
||||
pass $gdb_test_name
|
||||
}
|
||||
}
|
||||
# Depending on wether the closing } has a line associated, we might have
|
||||
# Depending on whether the closing } has a line associated, we might have
|
||||
# different acceptable results here
|
||||
gdb_test_multiple "reverse-step" "reverse-step within solib function one" {
|
||||
-re -wrap "return y;.*" {
|
||||
|
||||
@@ -116,7 +116,7 @@ gdb_test_multiple "reverse-step" "reverse-step into solib function one" {
|
||||
pass $gdb_test_name
|
||||
}
|
||||
}
|
||||
# Depending on wether the closing } has a line associated, we might have
|
||||
# Depending on whether the closing } has a line associated, we might have
|
||||
# different acceptable results here
|
||||
gdb_test_multiple "reverse-step" "reverse-step within solib function one" {
|
||||
-re -wrap "return y;.*" {
|
||||
|
||||
Reference in New Issue
Block a user