summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-22 09:12:30 -0700
committerTom Tromey <tom@tromey.com>2023-01-25 09:02:11 -0700
commitad1046e1cbf611718dc06a2d7154231e023d9296 (patch)
treee33c3970898f7938e1d0b91075c19027dec7c697 /gdb/testsuite/gdb.arch
parent42abd7386e63a5637e46b0705896e0d86dd4e490 (diff)
downloadbinutils-gdb-ad1046e1cbf611718dc06a2d7154231e023d9296.tar.gz
Rename skip_power_isa_3_1_tests to allow form
This renames skip_power_isa_3_1_tests to allow_power_isa_3_1_tests and updates its users to use require.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp b/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
index a1aacb05070..1ad3ea8bde4 100644
--- a/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
@@ -16,10 +16,11 @@
# Test to see if gdb is properly single stepping over the
# displaced plxv instruction.
-if { ![istarget powerpc*-*] || [skip_power_isa_3_1_tests] } {
+if { ![istarget powerpc*-*] } {
verbose "Skipping powerpc ISA 3.1 plxv test."
return
}
+require allow_power_isa_3_1_tests
set retval 0