From 5c77898d60cfea469a86fc6026f51b4a6d8e7444 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sun, 16 Jul 2023 16:18:41 +0200 Subject: [PATCH] [gdb/testsuite] Handle has_native_target in gdb.testsuite/gdb-caching-proc-consistency.exp 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: : 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 } } -- 2.30.2