Searched refs:PTRACE (Results 1 – 3 of 3) sorted by relevance
/external/lldb/source/Plugins/Process/FreeBSD/ |
D | ProcessMonitor.cpp | 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() [all …]
|
/external/lldb/source/Plugins/Process/Linux/ |
D | ProcessMonitor.cpp | 199 #define PTRACE(req, pid, addr, data, data_size) \ macro 232 data = PTRACE(PTRACE_PEEKDATA, pid, (void*)vm_addr, NULL, 0); in DoReadMemory() 306 if (PTRACE(PTRACE_POKEDATA, pid, (void*)vm_addr, (void*)data, 0)) in DoWriteMemory() 481 lldb::addr_t data = PTRACE(PTRACE_PEEKUSER, m_tid, (void*)m_offset, NULL, 0); in Execute() 530 if (PTRACE(PTRACE_POKEUSER, m_tid, (void*)m_offset, buf, 0)) in Execute() 558 if (PTRACE(PTRACE_GETREGS, m_tid, NULL, m_buf, m_buf_size) < 0) in Execute() 586 if (PTRACE(PTRACE_GETFPREGS, m_tid, NULL, m_buf, m_buf_size) < 0) in Execute() 615 if (PTRACE(PTRACE_GETREGSET, m_tid, (void *)&m_regset, m_buf, m_buf_size) < 0) in Execute() 643 if (PTRACE(PTRACE_SETREGS, m_tid, NULL, m_buf, m_buf_size) < 0) in Execute() 671 if (PTRACE(PTRACE_SETFPREGS, m_tid, NULL, m_buf, m_buf_size) < 0) in Execute() [all …]
|
/external/libunwind/doc/ |
D | libunwind-ptrace.tex | 69 either by forking a new process, invoking \Const{PTRACE\_TRACEME}, and 72 \Const{PTRACE\_ATTACH}). Either way, once the process-ID (pid) of the 81 value of \Const{PTRACE\_CONT}.
|