diff options
author | Kevin Buettner <kevinb@redhat.com> | 2008-07-11 21:57:24 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2008-07-11 21:57:24 +0000 |
commit | e2995f8ea0716717fc638dedbe6fefa9b84b3da6 (patch) | |
tree | 0f6669724e7b2a7e4b7506e3ae3bf474ffa972cd /gdb | |
parent | 8c6845782707f98080fa789050c9d70afadb1842 (diff) | |
download | gdb-e2995f8ea0716717fc638dedbe6fefa9b84b3da6.zip gdb-e2995f8ea0716717fc638dedbe6fefa9b84b3da6.tar.gz gdb-e2995f8ea0716717fc638dedbe6fefa9b84b3da6.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | 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 16d4665..1f08b33 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.arch/e500-regs.exp b/gdb/testsuite/gdb.arch/e500-regs.exp index b50696f..e403e5f 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} { |