summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/pointers.exp
diff options
context:
space:
mode:
authorOrjan Friberg <orjanf@axis.com>2001-03-07 17:21:43 +0000
committerOrjan Friberg <orjanf@axis.com>2001-03-07 17:21:43 +0000
commit1b3c55407c44561fb1755808b2a14a76416ba6a0 (patch)
tree893f9e05c7ba7ed49f813fa39831f443f16c12f6 /gdb/testsuite/gdb.base/pointers.exp
parent39424bef9143202f0b7fc25b73c81db580eb253c (diff)
downloadbinutils-gdb-1b3c55407c44561fb1755808b2a14a76416ba6a0.tar.gz
2001-02-26 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
Diffstat (limited to 'gdb/testsuite/gdb.base/pointers.exp')
-rw-r--r--gdb/testsuite/gdb.base/pointers.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/pointers.exp b/gdb/testsuite/gdb.base/pointers.exp
index b68242dde9a..5f406ad1533 100644
--- a/gdb/testsuite/gdb.base/pointers.exp
+++ b/gdb/testsuite/gdb.base/pointers.exp
@@ -527,7 +527,7 @@ gdb_expect {
send_gdb "print *pD\n"
gdb_expect {
- -re ".\[0-9\]* = -1.375e-123.*$gdb_prompt $" {
+ -re ".\[0-9\]* = -1.2\[0-9\]*e\\-37.*$gdb_prompt $" {
pass "print value of *pD"
}
-re ".*$gdb_prompt $" { fail "print value of *pD" }