Home
last modified time | relevance | path

Searched refs:PtraceWrapper (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeRegisterContextLinux.cpp94 return NativeProcessLinux::PtraceWrapper( in ReadGPR()
99 return NativeProcessLinux::PtraceWrapper( in WriteGPR()
104 return NativeProcessLinux::PtraceWrapper(PTRACE_GETFPREGS, m_thread.GetID(), in ReadFPR()
110 return NativeProcessLinux::PtraceWrapper(PTRACE_SETFPREGS, m_thread.GetID(), in WriteFPR()
117 return NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, m_thread.GetID(), in ReadRegisterSet()
124 return NativeProcessLinux::PtraceWrapper(PTRACE_SETREGSET, m_thread.GetID(), in WriteRegisterSet()
136 Status error = NativeProcessLinux::PtraceWrapper( in DoReadRegisterValue()
155 return NativeProcessLinux::PtraceWrapper( in DoWriteRegisterValue()
DNativeRegisterContextLinux_arm.cpp737 error = NativeProcessLinux::PtraceWrapper(PTRACE_GETHBPREGS, m_thread.GetID(), in ReadHardwareDebugInfo()
762 error = NativeProcessLinux::PtraceWrapper( in WriteHardwareDebugRegs()
770 error = NativeProcessLinux::PtraceWrapper( in WriteHardwareDebugRegs()
778 error = NativeProcessLinux::PtraceWrapper( in WriteHardwareDebugRegs()
786 error = NativeProcessLinux::PtraceWrapper( in WriteHardwareDebugRegs()
878 return NativeProcessLinux::PtraceWrapper(PTRACE_GETVFPREGS, m_thread.GetID(), in ReadFPR()
892 return NativeProcessLinux::PtraceWrapper(PTRACE_SETVFPREGS, m_thread.GetID(), in WriteFPR()
DNativeRegisterContextLinux_ppc64le.cpp468 return NativeProcessLinux::PtraceWrapper(PTRACE_GETVRREGS, m_thread.GetID(), in ReadVMX()
475 return NativeProcessLinux::PtraceWrapper(PTRACE_SETVRREGS, m_thread.GetID(), in WriteVMX()
482 return NativeProcessLinux::PtraceWrapper(PTRACE_GETVSRREGS, m_thread.GetID(), in ReadVSX()
489 return NativeProcessLinux::PtraceWrapper(PTRACE_SETVSRREGS, m_thread.GetID(), in WriteVSX()
628 error = NativeProcessLinux::PtraceWrapper(PPC_PTRACE_DELHWDEBUG, in ClearHardwareWatchpoint()
724 error = NativeProcessLinux::PtraceWrapper( in ReadHardwareDebugInfo()
751 error = NativeProcessLinux::PtraceWrapper(PPC_PTRACE_SETHWDEBUG, in WriteHardwareDebugRegs()
DNativeProcessLinux.cpp331 if ((status = PtraceWrapper(PTRACE_ATTACH, tid)).Fail()) { in Attach()
396 return PtraceWrapper(PTRACE_SETOPTIONS, pid, nullptr, (void *)ptrace_opts); in SetDefaultPtraceOpts()
1418 PtraceWrapper(req, thread.GetID(), nullptr, nullptr).ToError()) in Syscall()
1572 Status error = NativeProcessLinux::PtraceWrapper( in ReadMemory()
1608 error = NativeProcessLinux::PtraceWrapper(PTRACE_POKEDATA, GetID(), in WriteMemory()
1637 return PtraceWrapper(PTRACE_GETSIGINFO, tid, nullptr, siginfo); in GetSignalInfo()
1642 return PtraceWrapper(PTRACE_GETEVENTMSG, tid, nullptr, message); in GetEventMessage()
1649 return PtraceWrapper(PTRACE_DETACH, tid); in Detach()
1894 Status NativeProcessLinux::PtraceWrapper(int req, lldb::pid_t pid, void *addr, in PtraceWrapper() function in NativeProcessLinux
DSingleStepCheck.cpp111 NativeProcessLinux::PtraceWrapper(PTRACE_SINGLESTEP, child_pid); in WorkaroundNeeded()
DNativeThreadLinux.cpp244 return NativeProcessLinux::PtraceWrapper(PTRACE_CONT, GetID(), nullptr, in Resume()
268 return NativeProcessLinux::PtraceWrapper( in SingleStep()
DNativeRegisterContextLinux_mips64.cpp722 Status error = NativeProcessLinux::PtraceWrapper( in IsMSAAvailable()
1012 Status error = NativeProcessLinux::PtraceWrapper( in Read_SR_Config()
1026 return NativeProcessLinux::PtraceWrapper(PTRACE_GET_WATCH_REGS, in DoReadWatchPointRegisterValue()
1032 return NativeProcessLinux::PtraceWrapper(PTRACE_SET_WATCH_REGS, in DoWriteWatchPointRegisterValue()
DNativeRegisterContextLinux_s390x.cpp427 return NativeProcessLinux::PtraceWrapper(PTRACE_PEEKUSR_AREA, in PeekUserArea()
439 return NativeProcessLinux::PtraceWrapper(PTRACE_POKEUSR_AREA, in PokeUserArea()
DNativeRegisterContextLinux_arm64.cpp878 error = NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, tid, &regset, in ReadHardwareDebugInfo()
887 error = NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, tid, &regset, in ReadHardwareDebugInfo()
927 return NativeProcessLinux::PtraceWrapper(PTRACE_SETREGSET, m_thread.GetID(), in WriteHardwareDebugRegs()
DNativeProcessLinux.h123 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp184 PtraceWrapper(PT_GET_SIGINFO, pid, &info, sizeof(info)); in MonitorSIGSTOP()
206 PtraceWrapper(PT_GET_SIGINFO, pid, &info, sizeof(info)); in MonitorSIGTRAP()
262 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP()
292 error = PtraceWrapper(PT_CONTINUE, pid, reinterpret_cast<void*>(1), 0); in MonitorSIGTRAP()
334 PtraceWrapper(PT_GET_SIGINFO, pid, &info, sizeof(info)); in MonitorSignal()
352 Status NativeProcessNetBSD::PtraceWrapper(int req, lldb::pid_t pid, void *addr, in PtraceWrapper() function in NativeProcessNetBSD
490 ret = PtraceWrapper(PT_SET_SIGINFO, GetID(), &siginfo.get(), in Resume()
497 ret = PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), in Resume()
505 return PtraceWrapper(PT_STOP, GetID()); in Halt()
518 return PtraceWrapper(PT_DETACH, GetID()); in Detach()
[all …]
DNativeThreadNetBSD.cpp45 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in Resume()
49 ret = NativeProcessNetBSD::PtraceWrapper(PT_CLEARSTEP, m_process.GetID(), in Resume()
57 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in SingleStep()
61 ret = NativeProcessNetBSD::PtraceWrapper(PT_SETSTEP, m_process.GetID(), in SingleStep()
69 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_SUSPEND, m_process.GetID(), in Suspend()
162 Status error = NativeProcessNetBSD::PtraceWrapper( in GetName()
DNativeRegisterContextNetBSD.cpp24 return NativeProcessNetBSD::PtraceWrapper(ptrace_req, GetProcessPid(), buf, in DoRegisterSet()
DNativeProcessNetBSD.h82 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeRegisterContextFreeBSD_x86_64.cpp353 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
357 return NativeProcessFreeBSD::PtraceWrapper(PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet()
360 return NativeProcessFreeBSD::PtraceWrapper(PT_GETXMMREGS, m_thread.GetID(), in ReadRegisterSet()
364 return NativeProcessFreeBSD::PtraceWrapper(PT_GETDBREGS, m_thread.GetID(), in ReadRegisterSet()
369 Status ret = NativeProcessFreeBSD::PtraceWrapper( in ReadRegisterSet()
384 return NativeProcessFreeBSD::PtraceWrapper(PT_GETXSTATE, GetProcessPid(), in ReadRegisterSet()
394 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet()
398 return NativeProcessFreeBSD::PtraceWrapper(PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet()
401 return NativeProcessFreeBSD::PtraceWrapper(PT_SETXMMREGS, m_thread.GetID(), in WriteRegisterSet()
405 return NativeProcessFreeBSD::PtraceWrapper(PT_SETDBREGS, m_thread.GetID(), in WriteRegisterSet()
[all …]
DNativeProcessFreeBSD.cpp188 const auto siginfo_err = PtraceWrapper(PT_LWPINFO, pid, &info, sizeof(info)); in MonitorSIGTRAP()
227 PtraceWrapper(PT_CONTINUE, pid, reinterpret_cast<void *>(1), 0); in MonitorSIGTRAP()
310 const auto siginfo_err = PtraceWrapper(PT_LWPINFO, pid, &info, sizeof(info)); in MonitorSignal()
333 Status NativeProcessFreeBSD::PtraceWrapper(int req, lldb::pid_t pid, void *addr, in PtraceWrapper() function in NativeProcessFreeBSD
416 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), signal); in Resume()
440 return PtraceWrapper(PT_DETACH, GetID()); in Detach()
482 return PtraceWrapper(PT_KILL, m_pid); in Kill()
752 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
794 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in ReadMemory()
823 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in WriteMemory()
[all …]
DNativeThreadFreeBSD.cpp45 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in Resume()
48 ret = NativeProcessFreeBSD::PtraceWrapper(PT_CLEARSTEP, GetID()); in Resume()
55 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in SingleStep()
58 ret = NativeProcessFreeBSD::PtraceWrapper(PT_SETSTEP, GetID()); in SingleStep()
65 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_SUSPEND, GetID()); in Suspend()
DNativeProcessFreeBSD.h84 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp59 extern long PtraceWrapper(int req, lldb::pid_t pid, void *addr, int data, in PtraceWrapper() function
128 extern long PtraceWrapper(int req, lldb::pid_t pid, void *addr, int data) { in PtraceWrapper() function
136 PtraceWrapper((req), (pid), (addr), (data), #req, __FILE__, __LINE__)