aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-11-27 16:12:00 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-11-27 16:12:00 +0000
commitb179846202c8d5ce5742fea55f8d1f181463740e (patch)
treeb08976f02ea1b763d6413236d3f37aa5b6f90c1e /gdb/s390-nat.c
parent1b536f04b94ca3e7821a151553397d04a789aa54 (diff)
downloadgdb-b179846202c8d5ce5742fea55f8d1f181463740e.zip
gdb-b179846202c8d5ce5742fea55f8d1f181463740e.tar.gz
gdb-b179846202c8d5ce5742fea55f8d1f181463740e.tar.bz2
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 6bf8338..c67777e 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