From b2b64cc92a6fa28ee41f966df2dd4bb7119200c7 Mon Sep 17 00:00:00 2001 From: Paul Gilliam Date: Tue, 13 Sep 2005 23:13:50 +0000 Subject: [PATCH] 2005-09-13 Paul Gilliam * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg vscr" tests to match output. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.arch/altivec-regs.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f8ff3614682..f2aded49f02 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-09-13 Paul Gilliam + + * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg + vscr" tests to match output. + 2005-09-13 Paul Gilliam * gdb.arch/altivec-regs.exp: Adjust "print $vx" tests to match diff --git a/gdb/testsuite/gdb.arch/altivec-regs.exp b/gdb/testsuite/gdb.arch/altivec-regs.exp index a779be8a980..f18f7b204fe 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. -- 2.30.2