gdb:
2017-04-28 Yao Qi <yao.qi@linaro.org>
* mips-linux-nat.c (mips_linux_new_thread): Use ptid method
lwp instead of ptid_get_lwp.
+2017-04-28 Yao Qi <yao.qi@linaro.org>
+
+ * mips-linux-nat.c (mips_linux_new_thread): Use ptid method
+ lwp instead of ptid_get_lwp.
+
2017-04-28 Yao Qi <yao.qi@linaro.org>
* mips-linux-nat.c (mips_linux_new_thread): Get lwpid from
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,