Lines Matching refs:pst
266 ptrace_state_t pst; in MonitorSIGTRAP() local
267 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP()
274 if (pst.pe_report_event == PTRACE_VFORK_DONE) { in MonitorSIGTRAP()
285 assert(pst.pe_report_event == PTRACE_FORK || in MonitorSIGTRAP()
286 pst.pe_report_event == PTRACE_VFORK); in MonitorSIGTRAP()
287 MonitorClone(pst.pe_other_pid, pst.pe_report_event == PTRACE_VFORK, in MonitorSIGTRAP()
293 ptrace_state_t pst; in MonitorSIGTRAP() local
294 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP()
300 switch (pst.pe_report_event) { in MonitorSIGTRAP()
303 pst.pe_lwp); in MonitorSIGTRAP()
304 NativeThreadNetBSD &t = AddThread(pst.pe_lwp); in MonitorSIGTRAP()
309 pst.pe_lwp, error); in MonitorSIGTRAP()
316 pst.pe_lwp); in MonitorSIGTRAP()
317 RemoveThread(pst.pe_lwp); in MonitorSIGTRAP()