Use xfail in ptype_tagged_param.exp
authorTom Tromey <tromey@adacore.com>
Mon, 30 Jan 2023 15:03:33 +0000 (08:03 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 30 Jan 2023 15:03:33 +0000 (08:03 -0700)
Pedro pointed out that ptype_tagged_param.exp used a kfail, but an
xfail would be more appropriate as the problem appears to be in gcc,
not gdb.

gdb/testsuite/gdb.ada/ptype_tagged_param.exp

index 759b10f9b6a8662a5e7e6db520e08cd646d42ff9..da9b2bb3ae6c0094b236867e381858c16e216432 100644 (file)
@@ -49,7 +49,7 @@ gdb_test_multiple "ptype s" "ptype s" {
     }
     -re -wrap $nodebug {
        if {!$has_runtime_debug_info} {
-           kfail "no debug info" $gdb_test_name
+           xfail "no debug info" $gdb_test_name
        } else {
            fail $gdb_test_name
        }