aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2021-06-16 12:07:39 -0500
committerCarl Love <cel@us.ibm.com>2021-06-25 11:08:47 -0500
commit202054aea670db6441f6b04c59ff58e6c3a1f8ca (patch)
tree1853d09c46b22e02d7ac297985b470412aa06621 /gdb/testsuite/gdb.arch
parent50a6759f0f541ea965c7330bfbfe335cb8d66af8 (diff)
downloadgdb-202054aea670db6441f6b04c59ff58e6c3a1f8ca.zip
gdb-202054aea670db6441f6b04c59ff58e6c3a1f8ca.tar.gz
gdb-202054aea670db6441f6b04c59ff58e6c3a1f8ca.tar.bz2
Add ISA 3.1 check to powerpc-plxv-norel.exp
This patch adds a file with the ISA 3.1 check. The ISA 3.1 check is added to the test to ensure the test is only run on ISA 3.1 or newer. gdb/testsuite/ChangeLog 2021-06-25 Carl Love <cel@us.ibm.com> * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests. * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp b/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
index 08f1a37..446b2bd 100644
--- a/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
@@ -16,8 +16,8 @@
# Test to see if gdb is properly single stepping over the
# displaced plxv instruction.
-if { ![istarget powerpc*-*] } {
- verbose "Skipping powerpc plxv test."
+if { ![istarget powerpc*-*] || [skip_power_isa_3_1_tests] } {
+ verbose "Skipping powerpc ISA 3.1 plxv test."
return
}