* 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.
This commit is contained in:
Kevin Buettner 2008-07-11 21:57:24 +00:00
parent 8c68457827
commit e2995f8ea0
2 changed files with 8 additions and 6 deletions

View 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.

View 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} {