aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/float.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/float.exp')
-rw-r--r--gdb/testsuite/gdb.base/float.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp
index 170ba77..21ee7d2 100644
--- a/gdb/testsuite/gdb.base/float.exp
+++ b/gdb/testsuite/gdb.base/float.exp
@@ -27,7 +27,7 @@ if $tracelevel {
#
-if { [prepare_for_testing float.exp float run.c] } {
+if { [prepare_for_testing float.exp float float.c] } {
return -1
}
@@ -99,3 +99,6 @@ if { [istarget "alpha*-*-*"] } then {
} else {
gdb_test "info float" "No floating.point info available for this processor." "info float (unknown target)"
}
+
+gdb_test "step"
+gdb_test "finish" "Value returned is .* = (inf|nan).*"