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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index b1c3f11c753..d975015a7f7 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -532,7 +532,7 @@ s390_insert_watchpoint (CORE_ADDR addr, int len, int type,
watch_base = area;
ALL_LWPS (lp)
- s390_fix_watch_points (lp->ptid);
+ s390_fix_watch_points (lp);
return 0;
}
@@ -560,7 +560,7 @@ s390_remove_watchpoint (CORE_ADDR addr, int len, int type,
xfree (area);
ALL_LWPS (lp)
- s390_fix_watch_points (lp->ptid);
+ s390_fix_watch_points (lp);
return 0;
}