[pushed] Use xfail in ptype_tagged_param.exp

Message ID 20230130150444.1620239-1-tromey@adacore.com
State Committed
Commit 8d31d08fe61059fb94c02ae30c2b7cd0ea738df0
Headers
Series [pushed] Use xfail in ptype_tagged_param.exp |

Commit Message

Tom Tromey Jan. 30, 2023, 3:04 p.m. UTC
  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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
index 759b10f9b6a..da9b2bb3ae6 100644
--- a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
+++ b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
@@ -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
 	}