Lines Matching refs:lwp
107 static ptid_t lwp_to_thread (ptid_t lwp);
124 #define BUILD_LWP(lwp, pid) ptid_build (pid, lwp, 0)
209 {TD_NOLWP, "no lwp can be found to satisfy query"},
319 /* It's a thread. Convert to lwp */
367 lwp_to_thread (ptid_t lwp)
373 if (is_thread (lwp))
374 return lwp; /* It's already a thread id */
376 /* It's an lwp. Convert it to a thread id. */
378 if (!sol_thread_alive (lwp))
379 return pid_to_ptid (-1); /* defunct lwp */
381 val = p_td_ta_map_lwp2thr (main_ta, GET_LWP (lwp), &th);
389 return lwp; /* libthread doesn't know about it;
390 just return lwp */
400 return BUILD_THREAD (ti.ti_tid, PIDGET (lwp));
741 !target_thread_alive (inferior_ptid)) /* An lwp, but not alive */
742 inferior_ptid = procfs_first_available (); /* Find any live lwp. */
772 !target_thread_alive (inferior_ptid)) /* An lwp, but not alive */
773 inferior_ptid = procfs_first_available (); /* Find any live lwp. */
985 a particular process or lwp. Since GDB ensures that these are all stopped
1050 !target_thread_alive (inferior_ptid)) /* An lwp, but not alive */
1051 inferior_ptid = procfs_first_available (); /* Find any live lwp. */
1384 ptid_t lwp;
1386 lwp = thread_to_lwp (ptid, -2);
1388 if (PIDGET (lwp) == -1)
1390 else if (PIDGET (lwp) != -2)
1391 sprintf (buf, "Thread %ld (LWP %ld)", GET_THREAD (ptid), GET_LWP (lwp));
1482 printf_filtered ("%s thread #%d, lwp %d, ",