Lines Matching refs:ptid

978   ptid_t ptid;
1047 ecs->ptid = target_wait_hook (ecs->waiton_ptid, ecs->wp);
1049 ecs->ptid = target_wait (ecs->waiton_ptid, ecs->wp);
1104 async_ecs->ptid =
1107 async_ecs->ptid = target_wait (async_ecs->waiton_ptid, async_ecs->wp);
1184 if (in_thread_list (inferior_ptid) && in_thread_list (ecs->ptid))
1198 load_infrun_state (ecs->ptid, &prev_pc,
1208 inferior_ptid = ecs->ptid;
1373 stop_pc = read_pc_pid (ecs->ptid) - DECR_PC_AFTER_BREAK;
1408 write_pc_pid (stop_pc, ecs->ptid);
1427 target_last_wait_ptid = ecs->ptid;
1480 ecs->new_thread_event = (!ptid_equal (ecs->ptid, inferior_ptid)
1481 && !in_thread_list (ecs->ptid));
1486 add_thread (ecs->ptid);
1489 ui_out_text (uiout, target_pid_or_tid_to_str (ecs->ptid));
1609 pending_follow.fork_event.parent_pid = PIDGET (ecs->ptid);
1614 stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid);
1643 target_resume (ecs->ptid, 0, TARGET_SIGNAL_0);
1659 stop_pc = read_pc_pid (ecs->ptid);
1661 inferior_ptid = ecs->ptid;
1663 stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid);
1719 target_resume (ecs->ptid, 1, TARGET_SIGNAL_0);
1762 stop_pc = read_pc_pid (ecs->ptid);
1767 gdb_assert (ptid_equal (singlestep_ptid, ecs->ptid));
1783 ecs->ptid = saved_singlestep_ptid;
1786 context_hook (pid_to_thread_id (ecs->ptid));
1810 if (!breakpoint_thread_match (stop_pc, ecs->ptid))
1819 really different from ecs->ptid. */
1820 if (!ptid_equal (singlestep_ptid, ecs->ptid)
1854 write_pc_pid (stop_pc + 4, ecs->ptid);
1862 target_resume (ecs->ptid,
1873 if (!ptid_equal (inferior_ptid, ecs->ptid))
1875 ecs->waiton_ptid = ecs->ptid;
1901 if (!ptid_equal (ecs->ptid, inferior_ptid) &&
1942 target_resume (ecs->ptid, 0, stop_signal);
1953 context_hook (pid_to_thread_id (ecs->ptid));
1973 target_resume (ecs->ptid, 1, TARGET_SIGNAL_0);
1980 ecs->waiton_ptid = ecs->ptid;
2020 target_resume (ecs->ptid, 1, TARGET_SIGNAL_0); /* Single step */
2022 ecs->waiton_ptid = ecs->ptid;
2117 stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid);
2490 if (SOLIB_IN_DYNAMIC_LINKER (PIDGET (ecs->ptid), stop_pc))
3990 /* Create a ptid given the necessary PID, LWP, and TID components. */
3995 ptid_t ptid;
3997 ptid.pid = pid;
3998 ptid.lwp = lwp;
3999 ptid.tid = tid;
4000 return ptid;
4003 /* Create a ptid from just a pid. */
4011 /* Fetch the pid (process id) component from a ptid. */
4014 ptid_get_pid (ptid_t ptid)
4016 return ptid.pid;
4019 /* Fetch the lwp (lightweight process) component from a ptid. */
4022 ptid_get_lwp (ptid_t ptid)
4024 return ptid.lwp;
4027 /* Fetch the tid (thread id) component from a ptid. */
4030 ptid_get_tid (ptid_t ptid)
4032 return ptid.tid;
4224 /* ptid initializations */