From e2995f8ea0716717fc638dedbe6fefa9b84b3da6 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 11 Jul 2008 21:57:24 +0000 Subject: [PATCH] * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion of regexp to account for changes made to GDB in the printing of byte vectors. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.arch/e500-regs.exp | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 16d4665a00b..1f08b33af86 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-07-11 Kevin Buettner + + * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion + of regexp to account for changes made to GDB in the printing of + byte vectors. + 2008-07-11 Tom Tromey * gdb.base/completion.exp: Add 'help' completion test. diff --git a/gdb/testsuite/gdb.arch/e500-regs.exp b/gdb/testsuite/gdb.arch/e500-regs.exp index b50696f5371..e403e5f976d 100644 --- a/gdb/testsuite/gdb.arch/e500-regs.exp +++ b/gdb/testsuite/gdb.arch/e500-regs.exp @@ -104,15 +104,11 @@ for {set i 0} {$i < 32} {incr i 1} { } # Now redo the same tests, but using the print command. -# Note: in LE case, the char array is printed WITHOUT the last character. -# Gdb treats the terminating null char in the array like the terminating -# null char in a string and doesn't print it. This is not a failure, but -# the way gdb works. if {$endianness == "big"} { - set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.." + set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = .0, 0, 0, 1, 0, 0, 0, 1.." } else { - set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.." + set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = .1, 0, 0, 0, 1, 0, 0, 0.." } for {set i 0} {$i < 32} {incr i 1} { -- 2.30.2