diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/bfp-test.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/bfp-test.exp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.base/bfp-test.exp b/gdb/testsuite/gdb.base/bfp-test.exp index 4b39d39..91c7e51 100644 --- a/gdb/testsuite/gdb.base/bfp-test.exp +++ b/gdb/testsuite/gdb.base/bfp-test.exp @@ -35,14 +35,14 @@ gdb_breakpoint [gdb_get_line_number "return"] gdb_continue_to_breakpoint "return" # Print the original value of b32, b64 and b128. -gdb_test "print b32" ".*1 = 1\.5.*" "The original value of b32 is 1.5" -gdb_test "print b64" ".*2 = 2\.25.*" "The original value of b64 is 2.25" -gdb_test "print b128" ".*3 = 3\.375.*" "The original value of b128 is 3.375" +gdb_test "print b32" ".*1 = 1\.5.*" "the original value of b32 is 1.5" +gdb_test "print b64" ".*2 = 2\.25.*" "the original value of b64 is 2.25" +gdb_test "print b128" ".*3 = 3\.375.*" "the original value of b128 is 3.375" # Test that gdb could correctly recognize float constant expression with a suffix. -gdb_test "print b32=-1.5f" ".*4 = -1\.5.*" "Try to change b32 to -1.5 with 'print b32=-1.5f'" -gdb_test "print b64=-2.25f" ".*5 = -2\.25.*" "Try to change b64 to -2.25 with 'print b64=-2.25f'" -gdb_test "print b128=-3.375l" ".*6 = -3\.375.*" "Try to change b128 to -3.375 with 'print b128=-3.375l'" +gdb_test "print b32=-1.5f" ".*4 = -1\.5.*" "try to change b32 to -1.5 with 'print b32=-1.5f'" +gdb_test "print b64=-2.25f" ".*5 = -2\.25.*" "try to change b64 to -2.25 with 'print b64=-2.25f'" +gdb_test "print b128=-3.375l" ".*6 = -3\.375.*" "try to change b128 to -3.375 with 'print b128=-3.375l'" # Test that gdb could handle the above correctly with "set var" command. set test "set variable b32 = 10.5f" @@ -75,9 +75,9 @@ gdb_test_multiple "set var b128=30.375l" "$test" { } } -gdb_test "print b32" ".*7 = 10\.5.*" "The value of b32 is changed to 10.5" -gdb_test "print b64" ".*8 = 20\.25.*" "The value of b64 is changed to 20.25" -gdb_test "print b128" ".*9 = 30\.375.*" "The value of b128 is changed to 30.375" +gdb_test "print b32" ".*7 = 10\.5.*" "the value of b32 is changed to 10.5" +gdb_test "print b64" ".*8 = 20\.25.*" "the value of b64 is changed to 20.25" +gdb_test "print b128" ".*9 = 30\.375.*" "the value of b128 is changed to 30.375" # Test that gdb could handle invalid suffix correctly. |