diff options
Diffstat (limited to 'gdb/mips-linux-nat.c')
-rw-r--r-- | gdb/mips-linux-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c index 2602e2d..2cfd156 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -886,14 +886,14 @@ write_watchpoint_regs (void) register values for the new thread. */ static void -mips_linux_new_thread (ptid_t ptid) +mips_linux_new_thread (struct lwp_info *lp) { int tid; if (!mips_linux_read_watch_registers (0)) return; - tid = ptid_get_lwp (ptid); + tid = ptid_get_lwp (lp->ptid); if (ptrace (PTRACE_SET_WATCH_REGS, tid, &watch_mirror) == -1) perror_with_name (_("Couldn't write debug register")); } |