aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-linux-nat.c')
-rw-r--r--gdb/mips-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index c5c18fd..8041d84 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -624,7 +624,7 @@ write_watchpoint_regs (void)
static void
mips_linux_new_thread (struct lwp_info *lp)
{
- long tid = ptid_get_lwp (lp->ptid);
+ long tid = lp->ptid.lwp ();
if (!mips_linux_read_watch_registers (tid,
&watch_readback,