diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2009-11-11 20:01:24 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@codesourcery.com> | 2009-11-11 20:01:24 +0000 |
commit | f3d9f7fb030962e935c80b1fddc2c95b367774b0 (patch) | |
tree | 85b5b197a12a34103b37579d4da0e516c9dddefb /gdb/testsuite/gdb.cp | |
parent | 1e061d1a6b958f46f91f19d4d953e86160d83294 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/testsuite/gdb.cp/ref-types.exp | 4 |
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" } |