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

The watchpoint-unaligned.exp test requires both read and write
hardware watchpoints.  s390x only supports write watchpoints, causing
one test failure when the rwatch command fails 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-unaligned.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
index d3bba6ae010..4b93dbf8234 100644
--- a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
@@ -17,7 +17,7 @@
 
 # Test inserting read watchpoints on unaligned addresses.
 
-require allow_hw_watchpoint_tests
+require allow_hw_watchpoint_tests allow_hw_watchpoint_access_tests
 
 standard_testfile
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
-- 
2.53.0


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

end of thread, other threads:[~2026-03-11  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03 22:17 [PATCH] gdb/testsuite: Skip gdb.base/watchpoint-unaligned.exp on s390x Kevin Buettner
2026-03-04  6:40 ` Tom de Vries
2026-03-11  0:36   ` Kevin Buettner

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