aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/gdb.ada/fixed_points.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/fixed_points.exp b/gdb/testsuite/gdb.ada/fixed_points.exp
index b2b3df4..19ec1f8 100644
--- a/gdb/testsuite/gdb.ada/fixed_points.exp
+++ b/gdb/testsuite/gdb.ada/fixed_points.exp
@@ -93,7 +93,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
}
# This failed before GCC 10.
- if {$scenario == "all" && [gnat_version_compare < 10]} {
+ if {$scenario == "all" && [gnat_version_compare >= 10]} {
gdb_test "p Float(Another_Fixed) = Float(Another_Delta * 5)" "true" \
"value of another_fixed"
}