public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] [gdb/testsuite] Handle has_native_target in gdb.testsuite/gdb-caching-proc-consistency.exp
@ 2023-07-16 14:21 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-07-16 14:21 UTC (permalink / raw)
  To: gdb-patches; +Cc: John Baldwin

With test-case gdb.testsuite/gdb-caching-proc-consistency.exp we run into:
...
ERROR: no fileid for xerxes
Couldn't send help target native to GDB.
UNRESOLVED: <exp>: have_native_target: initial: help target native
...

Fix this by handling have_native_target in
gdb.testsuite/gdb-caching-proc-consistency.exp.

Tested on x86_64-linux.
---
 gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp b/gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp
index df7715f9c24..4d57f5bf3ec 100644
--- a/gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp
+++ b/gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp
@@ -90,6 +90,7 @@ proc test_file { file } {
 		"is_address_zero_readable" { set setup_gdb 1 }
 		"target_is_gdbserver" { set setup_gdb 1 }
 		"supports_memtag" { set setup_gdb 1 }
+		"have_native_target" { set setup_gdb 1 }
 		default {set setup_gdb 0 }
 	    }
 

base-commit: 21751cefc44b4544752e38119b7a874b052cd7f3
-- 
2.35.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-16 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 14:21 [pushed] [gdb/testsuite] Handle has_native_target in gdb.testsuite/gdb-caching-proc-consistency.exp Tom de Vries

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).