aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/floatn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/floatn.exp')
-rw-r--r--gdb/testsuite/gdb.base/floatn.exp40
1 files changed, 20 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.base/floatn.exp b/gdb/testsuite/gdb.base/floatn.exp
index 0a8b4ff..aa8fddc 100644
--- a/gdb/testsuite/gdb.base/floatn.exp
+++ b/gdb/testsuite/gdb.base/floatn.exp
@@ -42,19 +42,19 @@ gdb_breakpoint [gdb_get_line_number "return"]
gdb_continue_to_breakpoint "return"
# Print the original values of f32, f64, f128, f32x, f64x.
-gdb_test "print f32" ".* = 1\\.5.*" "The original value of f32 is 1.5"
-gdb_test "print f64" ".* = 2\\.25.*" "The original value of f64 is 2.25"
-gdb_test "print f128" ".* = 3\\.375.*" "The original value of f128 is 3.375"
-gdb_test "print f32x" ".* = 10\\.5.*" "The original value of f32x is 10.5"
-gdb_test "print f64x" ".* = 20\\.25.*" "The original value of f64x is 20.25"
+gdb_test "print f32" ".* = 1\\.5.*" "the original value of f32 is 1.5"
+gdb_test "print f64" ".* = 2\\.25.*" "the original value of f64 is 2.25"
+gdb_test "print f128" ".* = 3\\.375.*" "the original value of f128 is 3.375"
+gdb_test "print f32x" ".* = 10\\.5.*" "the original value of f32x is 10.5"
+gdb_test "print f64x" ".* = 20\\.25.*" "the original value of f64x is 20.25"
# Test that gdb could correctly recognize float constant expression with a suffix.
# FIXME: gdb does not yet recognize the suffix for _FloatN/_FloatNx types.
-gdb_test "print f32=-1.5" ".* = -1\\.5.*" "Try to change f32 to -1.5 with 'print f32=-1.5'"
-gdb_test "print f64=-2.25" ".* = -2\\.25.*" "Try to change f64 to -2.25 with 'print f64=-2.25'"
-gdb_test "print f128=-3.375" ".* = -3\\.375.*" "Try to change f128 to -3.375 with 'print f128=-3.375'"
-gdb_test "print f32x=-10.5" ".* = -10\\.5.*" "Try to change f32x to -10.5 with 'print f32=-1.5x'"
-gdb_test "print f64x=-20.25" ".* = -20\\.25.*" "Try to change f64x to -20.25 with 'print f64=-2.25x'"
+gdb_test "print f32=-1.5" ".* = -1\\.5.*" "try to change f32 to -1.5 with 'print f32=-1.5'"
+gdb_test "print f64=-2.25" ".* = -2\\.25.*" "try to change f64 to -2.25 with 'print f64=-2.25'"
+gdb_test "print f128=-3.375" ".* = -3\\.375.*" "try to change f128 to -3.375 with 'print f128=-3.375'"
+gdb_test "print f32x=-10.5" ".* = -10\\.5.*" "try to change f32x to -10.5 with 'print f32=-1.5x'"
+gdb_test "print f64x=-20.25" ".* = -20\\.25.*" "try to change f64x to -20.25 with 'print f64=-2.25x'"
# Test that gdb could handle the above correctly with "set var" command.
set test "set variable f32 = 10.5"
@@ -107,18 +107,18 @@ gdb_test_multiple "set var f64x=200.25" "$test" {
}
}
-gdb_test "print f32" ".* = 10\\.5.*" "The value of f32 is changed to 10.5"
-gdb_test "print f64" ".* = 20\\.25.*" "The value of f64 is changed to 20.25"
-gdb_test "print f128" ".* = 30\\.375.*" "The value of f128 is changed to 30.375"
-gdb_test "print f32x" ".* = 100\\.5.*" "The value of f32x is changed to 100.5"
-gdb_test "print f64x" ".* = 200\\.25.*" "The value of f64x is changed to 200.25"
+gdb_test "print f32" ".* = 10\\.5.*" "the value of f32 is changed to 10.5"
+gdb_test "print f64" ".* = 20\\.25.*" "the value of f64 is changed to 20.25"
+gdb_test "print f128" ".* = 30\\.375.*" "the value of f128 is changed to 30.375"
+gdb_test "print f32x" ".* = 100\\.5.*" "the value of f32x is changed to 100.5"
+gdb_test "print f64x" ".* = 200\\.25.*" "the value of f64x is changed to 200.25"
# Print the original values of c32, c64, c128, c32x, c64x.
-gdb_test "print c32" ".* = 1\\.5 \\+ 1 \\* I.*" "The original value of c32 is 1.5 + 1 * I"
-gdb_test "print c64" ".* = 2\\.25 \\+ 1 \\* I.*" "The original value of c64 is 2.25 + 1 * I"
-gdb_test "print c128" ".* = 3\\.375 \\+ 1 \\* I.*" "The original value of c128 is 3.375 + 1 * I"
-gdb_test "print c32x" ".* = 10\\.5 \\+ 1 \\* I.*" "The original value of c32x is 10.5 + 1 * I"
-gdb_test "print c64x" ".* = 20\\.25 \\+ 1 \\* I.*" "The original value of c64x is 20.25 + 1 * I"
+gdb_test "print c32" ".* = 1\\.5 \\+ 1 \\* I.*" "the original value of c32 is 1.5 + 1 * I"
+gdb_test "print c64" ".* = 2\\.25 \\+ 1 \\* I.*" "the original value of c64 is 2.25 + 1 * I"
+gdb_test "print c128" ".* = 3\\.375 \\+ 1 \\* I.*" "the original value of c128 is 3.375 + 1 * I"
+gdb_test "print c32x" ".* = 10\\.5 \\+ 1 \\* I.*" "the original value of c32x is 10.5 + 1 * I"
+gdb_test "print c64x" ".* = 20\\.25 \\+ 1 \\* I.*" "the original value of c64x is 20.25 + 1 * I"
# FIXME: GDB cannot parse non-trivial complex constants yet.