aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/long_long.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.base/long_long.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.base/long_long.exp')
-rw-r--r--gdb/testsuite/gdb.base/long_long.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp
index e5e8539..ffbcade 100644
--- a/gdb/testsuite/gdb.base/long_long.exp
+++ b/gdb/testsuite/gdb.base/long_long.exp
@@ -228,7 +228,7 @@ gdb_test_int "p/u *(int *)i" "" "291" "19088743" ""
gdb_test_int "p/o *(int *)i" "" "0443" "0110642547" ""
gdb_test_int "p/t *(int *)i" "" "100100011" "1001000110100010101100111" ""
gdb_test_int "p/a *(int *)i" "" "" "0x1234567" ""
-gdb_test_int "p/f *(int *)i" "" "291" "2.99881655e-38" ""
+gdb_test_int "p/f *(int *)i" "" "291" "2.99881655e-0?38" ""
gdb_test_int "p/c *(int *)i" "" "35 '.'" "103 'g'" ""
gdb_test_long "p/x *(long *)l" "" "0x123" "0x1234567" "0x123456789abcdef"
@@ -237,7 +237,7 @@ gdb_test_long "p/u *(long *)l" "" "291" "19088743" "81985529216486895"
gdb_test_long "p/o *(long *)l" "" "0443" "0110642547" "04432126361152746757"
gdb_test_long "p/t *(long *)l" "" "100100011" "1001000110100010101100111" "100100011010001010110011110001001101010111100110111101111"
gdb_test_ptr "p/a *(long *)l" "" "" "0x1234567" "0x123456789abcdef"
-gdb_test_long "p/f *(long *)l" "" "291" "2.99881655e-38" "3.5127005640885037e-303"
+gdb_test_long "p/f *(long *)l" "" "291" "2.99881655e-0?38" "3.5127005640885037e-303"
gdb_test_long "p/c *(long *)l" "" "35 '.'" "103 'g'" "-17 '.*'"
gdb_test_long_long "p/x *(long long *)ll" "" "" "" "0x123456789abcdef"
@@ -308,7 +308,7 @@ gdb_test "x/2wo w" "0110642547.*024713562471"
gdb_test "x/2wt w" "00000001001000110100010101100111.*10100111001011101110010100111001"
gdb_test_ptr "x/2wa w" "" "" "0x1234567.*0xa72ee539" "0x1234567.*0xffffffffa72ee539"
gdb_test "x/2wc w" "103 'g'.*57 '9'"
-gdb_test "x/2wf w" "2.99881655e-38.*-2.42716126e-15"
+gdb_test "x/2wf w" "2.99881655e-0?38.*-2.42716126e-0?15"
gdb_test "x/2gx g" "0x0123456789abcdef.*0xa72ee53977053977"
gdb_test "x/2gd g" "81985529216486895.*-6399925985474168457"