diff options
Diffstat (limited to 'gdb/gdbserver/linux-mips-low.c')
-rw-r--r-- | gdb/gdbserver/linux-mips-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-mips-low.c b/gdb/gdbserver/linux-mips-low.c index f61c294..2194af6 100644 --- a/gdb/gdbserver/linux-mips-low.c +++ b/gdb/gdbserver/linux-mips-low.c @@ -450,7 +450,7 @@ mips_linux_prepare_to_resume (struct lwp_info *lwp) if (mips_linux_watch_get_num_valid (&priv->watch_mirror) > 0) { /* Write the mirrored watch register values. */ - int tid = ptid_get_lwp (ptid); + int tid = ptid.lwp (); if (-1 == ptrace (PTRACE_SET_WATCH_REGS, tid, &priv->watch_mirror, NULL)) |