From f4711d79c9d86d42a9fa963e8cb855fab686699d Mon Sep 17 00:00:00 2001 From: Paul Gilliam Date: Mon, 17 Oct 2005 22:16:54 +0000 Subject: [PATCH] 2005-10-17 Paul Gilliam * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg vscr" tests to better 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 cb968a9f8fe..2e74bc84570 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-10-17 Paul Gilliam + + * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg + vscr" tests to better match output. + 2005-10-12 Jim Blandy * gdb.base/structs.exp (any): New function. diff --git a/gdb/testsuite/gdb.arch/altivec-regs.exp b/gdb/testsuite/gdb.arch/altivec-regs.exp index f4c8530209b..849fae855ff 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 +1" "info reg vrsave" -gdb_test "info reg vscr" "vscr.*0x1 +1" "info reg vscr" +gdb_test "info reg vrsave" "vrsave.*0x1\t1" "info reg vrsave" +gdb_test "info reg vscr" "vscr.*0x1\t1" "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