[gdb/testsuite] Fix minimal encodings KPASSes
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / pckd_arr_ren.exp
index 13e599b6a5889fed34341ca1f69f9a0e1701e59d..8c53f857beefdcdb46a0dc9a177bf7e0ae426018 100644 (file)
@@ -31,8 +31,9 @@ foreach_with_prefix scenario {all minimal} {
     set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
     runto "foo.adb:$bp_location"
 
-    # GNAT >= 11.0 has the needed fix here.
-    if {$scenario == "minimal" && ![test_compiler_info {gcc-1[1-9]-*}]} {
+    # GNAT 9 and 10 are known to fail.
+    if {$scenario == "minimal" && ([test_compiler_info {gcc-9-*}] \
+                                      || [test_compiler_info {gcc-10-*}])} {
        setup_kfail "minimal encodings" *-*-*
     }
     gdb_test "print A2" \
This page took 0.023571 seconds and 4 git commands to generate.