Lines Matching refs:pst
268 ptrace_state_t pst; in MonitorSIGTRAP() local
269 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP()
276 if (pst.pe_report_event == PTRACE_VFORK_DONE) { in MonitorSIGTRAP()
287 assert(pst.pe_report_event == PTRACE_FORK || in MonitorSIGTRAP()
288 pst.pe_report_event == PTRACE_VFORK); in MonitorSIGTRAP()
289 MonitorClone(pst.pe_other_pid, pst.pe_report_event == PTRACE_VFORK, in MonitorSIGTRAP()
295 ptrace_state_t pst; in MonitorSIGTRAP() local
296 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP()
302 switch (pst.pe_report_event) { in MonitorSIGTRAP()
305 pst.pe_lwp); in MonitorSIGTRAP()
306 NativeThreadNetBSD &t = AddThread(pst.pe_lwp); in MonitorSIGTRAP()
311 pst.pe_lwp, error); in MonitorSIGTRAP()
318 pst.pe_lwp); in MonitorSIGTRAP()
319 RemoveThread(pst.pe_lwp); in MonitorSIGTRAP()