OSDN Git Service

* gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
authorKevin Buettner <kevinb@redhat.com>
Fri, 11 Jul 2008 21:57:24 +0000 (21:57 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 11 Jul 2008 21:57:24 +0000 (21:57 +0000)
of regexp to account for changes made to GDB in the printing of
byte vectors.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/e500-regs.exp

index 16d4665..1f08b33 100644 (file)
@@ -1,3 +1,9 @@
+2008-07-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * 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  <tromey@redhat.com>
 
        * gdb.base/completion.exp: Add 'help' completion test.
index b50696f..e403e5f 100644 (file)
@@ -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} {