summaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
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