Lines Matching refs:PTRACE
131 #define PTRACE(req, pid, addr, data) \ macro
153 if (PTRACE(PT_IO, pid, (caddr_t)&pi_desc, 0) < 0) in DoReadMemory()
169 if (PTRACE(PT_IO, pid, (caddr_t)&pi_desc, 0) < 0) in DoWriteMemory()
302 if ((rc = PTRACE(PT_GETREGS, m_tid, (caddr_t)®s, 0)) < 0) { in Execute()
339 if (PTRACE(PT_GETREGS, m_tid, (caddr_t)®s, 0) < 0) { in Execute()
344 if (PTRACE(PT_SETREGS, m_tid, (caddr_t)®s, 0) < 0) in Execute()
374 rc = PTRACE(PT_GETREGS, m_tid, (caddr_t)m_buf, 0); in Execute()
402 if (PTRACE(PT_GETFPREGS, m_tid, (caddr_t)m_buf, 0) < 0) in Execute()
429 if (PTRACE(PT_SETREGS, m_tid, (caddr_t)m_buf, 0) < 0) in Execute()
456 if (PTRACE(PT_SETFPREGS, m_tid, (caddr_t)m_buf, 0) < 0) in Execute()
487 if (PTRACE(PT_CONTINUE, m_tid, (caddr_t)1, data)) in Execute()
524 if (PTRACE(PT_STEP, m_tid, NULL, data)) in Execute()
553 if (PTRACE(PT_LWPINFO, m_tid, (caddr_t)&plwp, sizeof(plwp))) { in Execute()
584 if (PTRACE(PT_LWPINFO, m_tid, (caddr_t)&plwp, sizeof(plwp))) in Execute()
614 if (PTRACE(PT_KILL, pid, NULL, 0)) in Execute()
639 if (PTRACE(PT_DETACH, pid, NULL, 0) < 0) in Execute()
907 if (PTRACE(PT_TRACE_ME, 0, NULL, 0) < 0) in Launch()
988 if (PTRACE(PTRACE_SETOPTIONS, pid, NULL, PTRACE_O_TRACEEXIT) < 0) in Launch()
1074 if (PTRACE(PT_ATTACH, pid, NULL, 0) < 0) in Attach()