Remove pid_to_ptid
[deliverable/binutils-gdb.git] / gdb / gdbserver / thread-db.c
index 3e42db442047dbe6c455876b1a6189cdb0b52837..80125ee9b735fe7e2abb9d2be93a9c59331109a2 100644 (file)
@@ -252,7 +252,7 @@ maybe_attach_thread (const td_thrhandle_t *th_p, td_thrinfo_t *ti_p,
 {
   struct lwp_info *lwp;
 
-  lwp = find_lwp_pid (pid_to_ptid (ti_p->ti_lid));
+  lwp = find_lwp_pid (ptid_t (ti_p->ti_lid));
   if (lwp != NULL)
     return 1;
 
This page took 0.023753 seconds and 4 git commands to generate.