summaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-11-27 16:11:56 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-11-27 16:11:56 +0000
commit283d3048b8104c73aa26c9043f9060e76b4ff76a (patch)
tree7e65a840289eb2b7757afa82cb7738118e48ca5e /gdb/s390-nat.c
parenteca44a2f60590f2f3b4f260bdbda3f8a33c63445 (diff)
downloadgdb-283d3048b8104c73aa26c9043f9060e76b4ff76a.tar.gz
gdb/
* s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints of type bp_hardware_watchpoint. gdb/testsuite/ * gdb.base/hbreak.exp: Disable for s390*-*-* targets. * gdb.base/watchpoint-hw-hit-once.exp: Likewise. * gdb.threads/watchthreads-reorder.exp: Likewise.
Diffstat (limited to 'gdb/s390-nat.c')
-rw-r--r--gdb/s390-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 6bf83382edf..c67777e929a 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -380,7 +380,7 @@ s390_remove_watchpoint (CORE_ADDR addr, int len, int type)
static int
s390_can_use_hw_breakpoint (int type, int cnt, int othertype)
{
- return 1;
+ return type == bp_hardware_watchpoint;
}
static int