aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ldbl_e308.exp
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-10-25 11:16:18 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-10-25 11:16:18 +0000
commit528b42ae75c9f19f1bca1e109a7de13d89ba11b2 (patch)
tree4edee178e7d5db50c9f9d27c79a935d7f3f64221 /gdb/testsuite/gdb.base/ldbl_e308.exp
parent635d23ff1aee59c4e7087d44ebce1a790ec0ecd6 (diff)
downloadgdb-528b42ae75c9f19f1bca1e109a7de13d89ba11b2.zip
gdb-528b42ae75c9f19f1bca1e109a7de13d89ba11b2.tar.gz
gdb-528b42ae75c9f19f1bca1e109a7de13d89ba11b2.tar.bz2
gdb.base/ldbl_e308.exp: Do not allow "inf" in value output.
That was an attempt at handling the targets where sizeof(long double) is less than 8, but the way it was implement allows the bug that this testcase verifies to come back without being noticed. gdb/testsuite/ChangeLog: * gdb.base/ldbl_e308.exp: Remove "inf" from possible expected output for "print inp" test.
Diffstat (limited to 'gdb/testsuite/gdb.base/ldbl_e308.exp')
-rw-r--r--gdb/testsuite/gdb.base/ldbl_e308.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ldbl_e308.exp b/gdb/testsuite/gdb.base/ldbl_e308.exp
index 89c54b5..ad9c5f4 100644
--- a/gdb/testsuite/gdb.base/ldbl_e308.exp
+++ b/gdb/testsuite/gdb.base/ldbl_e308.exp
@@ -27,5 +27,5 @@ if ![runto_main] {
gdb_test_no_output "set variable ldbl_308 = 1.6e+308l"
gdb_test "print ldbl_308" \
- "= (1\..*e\\+308|inf)"
+ "= 1\..*e\\+308"