Home
last modified time | relevance | path

Searched refs:PT_GETREGS (Results 1 – 22 of 22) sorted by relevance

/freebsd-14-stable/lib/libproc/
HDproc_regs.c53 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)&regs, 0) < 0) in proc_regget()
104 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)&regs, 0) < 0) in proc_regset()
/freebsd-14-stable/tools/test/popss/
HDpopss.c62 error = ptrace(PT_GETREGS, child, (caddr_t)&r, 0); in setup()
87 error = ptrace(PT_GETREGS, child, (caddr_t)&r, 0); in setup()
/freebsd-14-stable/sys/compat/linux/
HDlinux_ptrace.c269 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); in linux_ptrace_getregs()
312 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); in linux_ptrace_getregset_prstatus()
439 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); in linux_ptrace_get_syscall_info()
/freebsd-14-stable/contrib/netbsd-tests/kernel/arch/i386/
HDt_ptrace_wait.c95 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
/freebsd-14-stable/sys/amd64/linux/
HDlinux_machdep.c348 if ((error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0)) != 0) in linux_ptrace_peekuser()
421 if ((error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0)) != 0) in linux_ptrace_pokeuser()
/freebsd-14-stable/sys/i386/linux/
HDlinux_ptrace_machdep.c289 error = kern_ptrace(td, PT_GETREGS, pid, &u.bsd_reg, 0); in linux_ptrace()
416 error = kern_ptrace(td, PT_GETREGS, pid, &u.bsd_reg, 0); in linux_ptrace()
/freebsd-14-stable/sys/sys/
HDptrace.h78 #define PT_GETREGS 33 /* get general-purpose registers */ macro
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
HDNativeRegisterContextFreeBSD_arm.cpp65 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
HDNativeRegisterContextFreeBSD_mips64.cpp84 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
HDNativeRegisterContextFreeBSD_powerpc.cpp137 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
HDNativeRegisterContextFreeBSD_arm64.cpp94 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
HDNativeRegisterContextFreeBSD_x86_64.cpp345 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_stoptheworld_netbsd_libcdep.cpp344 internal_iserror(internal_ptrace(PT_GETREGS, ppid, &regs, tid), &pterrno); in GetRegistersAndSP()
HDsanitizer_platform_limits_posix.cpp402 (defined(PT_GETREGS) && defined(PT_SETREGS))
HDsanitizer_platform_limits_netbsd.cpp597 #if defined(PT_SETREGS) && defined(PT_GETREGS)
599 int ptrace_pt_getregs = PT_GETREGS;
/freebsd-14-stable/contrib/netbsd-tests/kernel/
HDt_ptrace_wait.h178 #if defined(PT_GETREGS) \
HDt_ptrace_wait.c4033 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
4087 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
4143 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
4199 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
4255 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
4258 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
/freebsd-14-stable/sys/kern/
HDsys_process.c640 case PT_GETREGS: in sys_ptrace()
716 case PT_GETREGS: in sys_ptrace()
1440 case PT_GETREGS: in kern_ptrace()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
HDNativeRegisterContextNetBSD_x86_64.cpp352 return DoRegisterSet(PT_GETREGS, m_gpr.data()); in ReadRegisterSet()
/freebsd-14-stable/contrib/netbsd-tests/kernel/arch/amd64/
HDt_ptrace_wait.c96 ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1); in ATF_TC_BODY()
/freebsd-14-stable/tests/sys/kern/
HDptrace_test.c3871 ATF_REQUIRE(ptrace(PT_GETREGS, pl.pl_lwpid, (caddr_t)&reg, 0) != -1); in ATF_TC_BODY()
3911 ATF_REQUIRE(ptrace(PT_GETREGS, pl.pl_lwpid, (caddr_t)&reg, in ATF_TC_BODY()
/freebsd-14-stable/sys/compat/freebsd32/
HDfreebsd32_misc.c1090 case PT_GETREGS: in freebsd32_ptrace()
1208 case PT_GETREGS: in freebsd32_ptrace()