aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ref-types.exp
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-11-11 20:01:24 +0000
committerNathan Froyd <froydnj@codesourcery.com>2009-11-11 20:01:24 +0000
commitf3d9f7fb030962e935c80b1fddc2c95b367774b0 (patch)
tree85b5b197a12a34103b37579d4da0e516c9dddefb /gdb/testsuite/gdb.cp/ref-types.exp
parent1e061d1a6b958f46f91f19d4d953e86160d83294 (diff)
downloadgdb-f3d9f7fb030962e935c80b1fddc2c95b367774b0.zip
gdb-f3d9f7fb030962e935c80b1fddc2c95b367774b0.tar.gz
gdb-f3d9f7fb030962e935c80b1fddc2c95b367774b0.tar.bz2
* gdb.base/long_long.exp: Permit leading zeros on floating-point
exponents. * gdb.base/pointers.exp: Likewise. * gdb.cp/ref-types.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ref-types.exp')
-rw-r--r--gdb/testsuite/gdb.cp/ref-types.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/ref-types.exp b/gdb/testsuite/gdb.cp/ref-types.exp
index 4784cb2..b2d5f5a 100644
--- a/gdb/testsuite/gdb.cp/ref-types.exp
+++ b/gdb/testsuite/gdb.cp/ref-types.exp
@@ -412,7 +412,7 @@ gdb_expect {
send_gdb "print F\n"
gdb_expect {
- -re ".\[0-9\]* = 1.2\[0-9\]*e\\+10.*$gdb_prompt $" {
+ -re ".\[0-9\]* = 1.2\[0-9\]*e\\+0?10.*$gdb_prompt $" {
pass "print value of F"
}
-re ".*$gdb_prompt $" { fail "print value of F" }
@@ -640,7 +640,7 @@ gdb_expect {
send_gdb "print rF\n"
gdb_expect {
- -re ".\[0-9\]* = \\(float &\\) @$hex: 1.2\[0-9\]*e\\+10.*$gdb_prompt $" {
+ -re ".\[0-9\]* = \\(float &\\) @$hex: 1.2\[0-9\]*e\\+0?10.*$gdb_prompt $" {
pass "print value of rF"
}
-re ".*$gdb_prompt $" { fail "print value of rF" }