Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb/testsuite: Skip gdb.base/watchpoint-adjacent.exp on s390x
@ 2026-03-03  2:46 Kevin Buettner
  2026-03-03  8:56 ` Tom de Vries
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Buettner @ 2026-03-03  2:46 UTC (permalink / raw)
  To: gdb-patches; +Cc: Kevin Buettner

The watchpoint-adjacent.exp test requires both read and write hardware
watchpoints.  s390x only supports write watchpoints, causing 108 test
failures when rwatch commands fail with "Target does not support this
type of hardware watchpoint."

Add a require for allow_hw_watchpoint_access_tests to skip this test on
architectures without read watchpoint support.
---
 gdb/testsuite/gdb.base/watchpoint-adjacent.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/watchpoint-adjacent.exp b/gdb/testsuite/gdb.base/watchpoint-adjacent.exp
index 901a383c5b5..3c3316059ad 100644
--- a/gdb/testsuite/gdb.base/watchpoint-adjacent.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-adjacent.exp
@@ -20,7 +20,7 @@
 # Multiple inferiors are compiled, using a variety of types for the
 # two fields.
 
-require allow_hw_watchpoint_multi_tests
+require allow_hw_watchpoint_multi_tests allow_hw_watchpoint_access_tests
 
 standard_testfile
 
-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-03 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03  2:46 [PATCH] gdb/testsuite: Skip gdb.base/watchpoint-adjacent.exp on s390x Kevin Buettner
2026-03-03  8:56 ` Tom de Vries
2026-03-03 21:45   ` Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox