aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r--gdb/testsuite/gdb.arch/s390-vregs.S4
-rw-r--r--gdb/testsuite/gdb.arch/s390-vregs.exp3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.arch/s390-vregs.S b/gdb/testsuite/gdb.arch/s390-vregs.S
index 4b48a83..7388e7d 100644
--- a/gdb/testsuite/gdb.arch/s390-vregs.S
+++ b/gdb/testsuite/gdb.arch/s390-vregs.S
@@ -56,8 +56,8 @@ change_vrs:
.cfi_startproc
lghi %r1,16
lghi %r3,0xff
-1: exrl %r3,2f
- exrl %r3,1f
+1: .insn ril,0xc60000000000,%r3,2f /* exrl */
+ .insn ril,0xc60000000000,%r3,1f /* exrl */
aghi %r3,-0x11
brctg %r1,1b
br %r14
diff --git a/gdb/testsuite/gdb.arch/s390-vregs.exp b/gdb/testsuite/gdb.arch/s390-vregs.exp
index 8333c32..7d3c9bb 100644
--- a/gdb/testsuite/gdb.arch/s390-vregs.exp
+++ b/gdb/testsuite/gdb.arch/s390-vregs.exp
@@ -29,7 +29,8 @@ if [isnative] {
remote_exec build "mkdir $coredir"
}
-if { [prepare_for_testing ${testfile}.exp $testfile $srcfile] } {
+if { [prepare_for_testing ${testfile}.exp $testfile $srcfile \
+ [list "additional_flags=-mzarch"]] } {
return -1
}