From 202054aea670db6441f6b04c59ff58e6c3a1f8ca Mon Sep 17 00:00:00 2001 From: Carl Love Date: Wed, 16 Jun 2021 12:07:39 -0500 Subject: 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 * 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. --- gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite/gdb.arch') 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 } -- cgit v1.1