aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2005-09-13 23:13:50 +0000
committerPaul Gilliam <pgilliam@us.ibm.com>2005-09-13 23:13:50 +0000
commitb2b64cc92a6fa28ee41f966df2dd4bb7119200c7 (patch)
treec765e94ff514a7ee0956f9feda3845c5194b0f11
parent6ac4d15a41d6bdf75e6911f7bfca91c6ae162a65 (diff)
downloadgdb-b2b64cc92a6fa28ee41f966df2dd4bb7119200c7.zip
gdb-b2b64cc92a6fa28ee41f966df2dd4bb7119200c7.tar.gz
gdb-b2b64cc92a6fa28ee41f966df2dd4bb7119200c7.tar.bz2
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg vscr" tests to match output.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.arch/altivec-regs.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f8ff361..f2aded4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
+ * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
+ vscr" tests to match output.
+
+2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
+
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
diff --git a/gdb/testsuite/gdb.arch/altivec-regs.exp b/gdb/testsuite/gdb.arch/altivec-regs.exp
index a779be8..f18f7b2 100644
--- a/gdb/testsuite/gdb.arch/altivec-regs.exp
+++ b/gdb/testsuite/gdb.arch/altivec-regs.exp
@@ -113,8 +113,8 @@ for {set i 0} {$i < 32} {incr i 1} {
gdb_test "info reg vr$i" "vr$i.*$vector_register" "info reg vr$i"
}
-gdb_test "info reg vrsave" "vrsave.*0x1" "info reg vrsave"
-gdb_test "info reg vscr" "vscr.*0x1" "info reg vscr"
+gdb_test "info reg vrsave" "vrsave.*0x1 +1" "info reg vrsave"
+gdb_test "info reg vscr" "vscr.*0x1 +1" "info reg vscr"
# Now redo the same tests, but using the print command.
# Note: in LE case, the char array is printed WITHOUT the last character.