aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-01-27 10:22:17 -0700
committerTom Tromey <tromey@adacore.com>2023-01-27 10:25:09 -0700
commitf6210497fd7ff8f71c1421abb3dacdd4556dd097 (patch)
tree988d4866b48d2ba1c2304cc5db98bd81a6aea4fe /gdb/testsuite
parent2d46b103a52e4597ee60aa224ef4e5fb225ba893 (diff)
downloadfsf-binutils-gdb-f6210497fd7ff8f71c1421abb3dacdd4556dd097.zip
fsf-binutils-gdb-f6210497fd7ff8f71c1421abb3dacdd4556dd097.tar.gz
fsf-binutils-gdb-f6210497fd7ff8f71c1421abb3dacdd4556dd097.tar.bz2
Invert test in gdb.ada/ptype_tagged_param.exp
Simon pointed out that the kfail check in gdb.ada/ptype_tagged_param.exp is inverted. See: https://sourceware.org/pipermail/gdb-patches/2023-January/196296.html This patch fixes the problem.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.ada/ptype_tagged_param.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
index eaf61dd..759b10f 100644
--- a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
+++ b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
@@ -48,7 +48,7 @@ gdb_test_multiple "ptype s" "ptype s" {
pass $gdb_test_name
}
-re -wrap $nodebug {
- if {$has_runtime_debug_info} {
+ if {!$has_runtime_debug_info} {
kfail "no debug info" $gdb_test_name
} else {
fail $gdb_test_name