aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/s390-nat.c')
-rw-r--r--gdb/s390-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index ae3c868..b1c3f11 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -472,7 +472,7 @@ s390_stopped_by_watchpoint (void)
}
static void
-s390_fix_watch_points (ptid_t ptid)
+s390_fix_watch_points (struct lwp_info *lp)
{
int tid;
@@ -482,9 +482,9 @@ s390_fix_watch_points (ptid_t ptid)
CORE_ADDR watch_lo_addr = (CORE_ADDR)-1, watch_hi_addr = 0;
struct watch_area *area;
- tid = TIDGET (ptid);
+ tid = TIDGET (lp->ptid);
if (tid == 0)
- tid = PIDGET (ptid);
+ tid = PIDGET (lp->ptid);
for (area = watch_base; area; area = area->next)
{