[gdb/testsuite] Fix minimal encodings KPASSes
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / mod_from_name.exp
index 43d81e0026f9df630a4dd1570ff64cda9bd1f42d..5f779c308456b6b7e3507b8154c2624aefebd639 100644 (file)
@@ -34,8 +34,9 @@ foreach_with_prefix scenario {all minimal} {
        return
     } 
 
-    # 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 xp" \
This page took 0.040251 seconds and 4 git commands to generate.