public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Invert test in gdb.ada/ptype_tagged_param.exp
@ 2023-01-27 17:25 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-01-27 17:25 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f6210497fd7ff8f71c1421abb3dacdd4556dd097
commit f6210497fd7ff8f71c1421abb3dacdd4556dd097
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Jan 27 10:22:17 2023 -0700
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.
Diff:
---
gdb/testsuite/gdb.ada/ptype_tagged_param.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp
index eaf61ddde79..759b10f9b6a 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-27 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 17:25 [binutils-gdb] Invert test in gdb.ada/ptype_tagged_param.exp Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).