aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-float.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-float.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-float.exp20
1 files changed, 16 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-float.exp b/gdb/testsuite/gdb.arch/i386-float.exp
index e638ceb..e3ae3ba 100644
--- a/gdb/testsuite/gdb.arch/i386-float.exp
+++ b/gdb/testsuite/gdb.arch/i386-float.exp
@@ -37,7 +37,19 @@ if ![runto_main] then {
return 0
}
-gdb_test "stepi" ".*fldt.*" "first stepi"
-gdb_test "info float" ".*R7: Empty 0x00000000000000000000\r\n.*"
-gdb_test "stepi" ".*ret.*" "second stepi"
-gdb_test "info float" ".*=>R7: Valid 0xbffee922191107450000 .*"
+with_test_prefix "zero" {
+ gdb_test "stepi" ".*fldt.*"
+ gdb_test "info float" "R7: Empty 0x00000000000000000000\r\n.*"
+}
+with_test_prefix "val" {
+ gdb_test "stepi" ".*fldt.*"
+ gdb_test "info float" "=>R7: Valid 0xbffee922191107450000 .*"
+}
+with_test_prefix "smallval" {
+ gdb_test "stepi" ".*fldt.*"
+ gdb_test "info float" "=>R6: Valid 0x03e5c6f8c103dc90456a \\+3.500000000000000007e-4632\r\n.*"
+}
+with_test_prefix "bigval" {
+ gdb_test "stepi" ".*ret.*"
+ gdb_test "info float" "=>R5: Valid 0x6a5cc643b78165d7d0e9 \\+7.250000000000000005e\\+3264\r\n.*"
+}