diff options
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r-- | gdb/gdbserver/thread-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index 80125ee..7d4bfb6 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -167,7 +167,7 @@ find_one_thread (ptid_t ptid) td_err_e err; struct lwp_info *lwp; struct thread_db *thread_db = current_process ()->priv->thread_db; - int lwpid = ptid_get_lwp (ptid); + int lwpid = ptid.lwp (); thread_info *thread = find_thread_ptid (ptid); lwp = get_thread_lwp (thread); |