]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/thread-db.c
Remove ptid_get_lwp
[thirdparty/binutils-gdb.git] / gdb / gdbserver / thread-db.c
index 80125ee9b735fe7e2abb9d2be93a9c59331109a2..7d4bfb6efea889d83c6b52fda3decb32683312db 100644 (file)
@@ -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);