aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2015-05-08 12:50:47 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-05-08 12:50:47 +0200
commit63fc80ce17311913e41ccb671641310e4ce29eaf (patch)
tree925b794800da31c37ccdadf068bbcb1a6dc27ee8 /gdb
parent7a261c91c8970fbcad7b00dc3e9c646319e74c50 (diff)
downloadgdb-63fc80ce17311913e41ccb671641310e4ce29eaf.zip
gdb-63fc80ce17311913e41ccb671641310e4ce29eaf.tar.gz
gdb-63fc80ce17311913e41ccb671641310e4ce29eaf.tar.bz2
Skip watch_thread_num.exp on targets without access watchpoints
Since watch_thread_num.exp was changed to use access watchpoints, the test case fails on s390 and s390x, since those targets do not support access watchpoints. This patch skips the test case on such targets. gdb/testsuite/ChangeLog: * gdb.base/watch_thread_num.exp: Skip test on targets without access watchpoints.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/watch_thread_num.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a2bb3c9..8284a49 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * gdb.base/watch_thread_num.exp: Skip test on targets without
+ access watchpoints.
+
2015-05-06 Pedro Alves <palves@redhat.com>
PR server/18081
diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp
index d559f22..6d767c2 100644
--- a/gdb/testsuite/gdb.base/watch_thread_num.exp
+++ b/gdb/testsuite/gdb.base/watch_thread_num.exp
@@ -21,7 +21,9 @@
# This test verifies that a watchpoint is detected in the proper thread
# so the test is only meaningful on a system with hardware watchpoints.
-if {[skip_hw_watchpoint_tests]} {
+# More specifically, the implementation of this test uses access
+# watchpoints, so skip it when those are not available.
+if {[skip_hw_watchpoint_access_tests]} {
return 0
}