+2020-11-23 Tom de Vries <tdevries@suse.de>
+
+ * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
+ * gdb.ada/mod_from_name.exp: Same.
+ * gdb.ada/pckd_arr_ren.exp: Same.
+
2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.base/template.exp: New.
clean_restart ${testfile}
- # 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-*}])} {
set old_compiler 1
} else {
set old_compiler 0
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" \
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" \