/freebsd-10-stable/sys/amd64/include/ |
H A D | ptrace.h | 6 #include <x86/ptrace.h>
|
/freebsd-10-stable/sys/i386/include/ |
H A D | ptrace.h | 6 #include <x86/ptrace.h>
|
/freebsd-10-stable/sys/pc98/include/ |
H A D | ptrace.h | 6 #include <x86/ptrace.h>
|
/freebsd-10-stable/lib/libc/sys/ |
H A D | ptrace.c | 37 #include <sys/ptrace.h> 41 __weak_reference(_ptrace, ptrace);
|
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | amd64bsd-nat.c | 31 #include <sys/ptrace.h> 49 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 62 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 80 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 86 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 98 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 104 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | mipsfbsd-nat.c | 35 #include <sys/ptrace.h> 52 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 65 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 80 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 86 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 98 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 104 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | mipsnbsd-nat.c | 28 #include <sys/ptrace.h> 45 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 58 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 73 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 79 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 91 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 97 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | ppcnbsd-nat.c | 23 #include <sys/ptrace.h> 63 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 76 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 93 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 99 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 111 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 117 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | ia64-fbsd-nat.c | 32 #include <sys/ptrace.h> 62 if (ptrace (PT_GETREGS, PIDGET(inferior_ptid), 70 if (ptrace (PT_GETFPREGS, PIDGET(inferior_ptid), 87 if (ptrace (PT_GETREGS, PIDGET(inferior_ptid), 91 if (ptrace (PT_SETREGS, PIDGET(inferior_ptid), 100 if (ptrace (PT_GETFPREGS, PIDGET(inferior_ptid), 104 if (ptrace (PT_SETFPREGS, PIDGET(inferior_ptid), 119 if (ptrace (PT_GETKSTACK, PIDGET(inferior_ptid), (PTRACE_ARG3_TYPE)rbuf, 125 if (ptrace (PT_SETKSTACK, PIDGET(inferior_ptid), (PTRACE_ARG3_TYPE)wbuf,
|
H A D | alphabsd-nat.c | 29 #include <sys/ptrace.h> 94 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 107 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 124 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 130 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 142 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 148 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | ppcfbsd-nat.c | 23 #include <sys/ptrace.h> 79 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 92 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 109 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 115 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 127 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 133 if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
H A D | infptrace.c | 1 /* Low level Unix child interface to ptrace, for GDB when running under Unix. 44 #include <ptrace.h> 47 #include <sys/ptrace.h> 118 /* This function simply calls ptrace with the given arguments. 119 It exists so that all calls to ptrace are isolated in this 138 pt_status = ptrace (PT_SETTRC, pid, addr, data); 142 pt_status = ptrace (PT_SETTRC, pid, addr, data, 0); 145 perror_with_name ("ptrace"); 175 pt_status = ptrace (request, pid, addr, data); 179 pt_status = ptrace (reques 195 #define ptrace macro [all...] |
H A D | i386bsd-nat.c | 29 #include <sys/ptrace.h> 185 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 201 && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid), 209 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 216 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), 235 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), 241 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), 256 && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid), 263 if (ptrace (PT_SETXMMREGS, PIDGET (inferior_ptid), 271 if (ptrace (PT_GETFPREG [all...] |
H A D | i386fbsd-nat.c | 27 #include <sys/ptrace.h> 74 /* An addres of (caddr_t) 1 tells ptrace to continue from where it 77 if (ptrace (request, pid, (caddr_t) 1, 79 perror_with_name ("ptrace");
|
H A D | i386v-nat.c | 26 #include <ptrace.h> 29 #include <sys/ptrace.h> 189 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), 191 ptrace (6, pid, offsetof (struct user, u_debugreg[free_debug_register]), 252 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), 254 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); 267 status = ptrace (3, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); 268 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0);
|
H A D | sparc-nat.c | 30 #include <sys/ptrace.h> 40 not all) ptrace(2) based SPARC systems, which includes SunOS 4, 43 First, we need a data structure for use with ptrace(2). SunOS has 65 /* Second, we need to remap the BSD ptrace(2) requests to their SunOS 169 if (ptrace (PTRACE_GETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1) 181 if (ptrace (PTRACE_GETFPREGS, pid, (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) 204 if (ptrace (PTRACE_GETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1) 209 if (ptrace (PTRACE_SETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1) 230 if (ptrace (PTRACE_GETFPREGS, pid, (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) 242 if (ptrace (PTRACE_SETFPREG [all...] |
/freebsd-10-stable/tools/test/ptrace/ |
H A D | scescx.c | 30 #include <sys/ptrace.h> 195 if (ptrace(PT_TO_SCE, pid, (caddr_t)1, 0) < 0) { 197 ptrace(PT_KILL, pid, NULL, 0); 212 if (ptrace(PT_LWPINFO, pid, (caddr_t)&lwpinfo, sizeof(lwpinfo)) < 0) { 214 ptrace(PT_KILL, pid, NULL, 0); 220 if (ptrace(PT_TO_SCX, pid, (caddr_t)1, 0) < 0) { 222 ptrace(PT_KILL, pid, NULL, 0); 237 if (ptrace(PT_LWPINFO, pid, (caddr_t)&lwpinfo, sizeof(lwpinfo)) < 0) { 239 ptrace(PT_KILL, pid, NULL, 0); 261 if (ptrace(PT_CONTINU [all...] |
/freebsd-10-stable/usr.bin/truss/ |
H A D | i386-fbsd.c | 37 #include <sys/ptrace.h> 60 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 71 * The system call argument count and code from ptrace() already 87 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 101 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | arm-fbsd.c | 37 #include <sys/ptrace.h> 61 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 71 * The system call argument count and code from ptrace() already 77 if ((syscall_num = ptrace(PT_READ_I, tid, 103 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 118 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | amd64-fbsd32.c | 37 #include <sys/ptrace.h> 63 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 74 * The system call argument count and code from ptrace() already 90 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 108 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | mips-fbsd.c | 37 #include <sys/ptrace.h> 60 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 70 * The system call argument count and code from ptrace() already 101 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 116 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | amd64-fbsd.c | 37 #include <sys/ptrace.h> 60 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 70 * The system call argument count and code from ptrace() already 97 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 112 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | sparc64-fbsd.c | 37 #include <sys/ptrace.h> 62 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 72 * The system call argument count and code from ptrace() already 91 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 106 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
H A D | powerpc64-fbsd.c | 33 #include <sys/ptrace.h> 56 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) { 66 * The system call argument count and code from ptrace() already 84 ptrace(PT_IO, tid, (caddr_t)&iorequest, 0); 99 if (ptrace(PT_GETREGS, tid, (caddr_t)®s, 0) < 0) {
|
/freebsd-10-stable/lib/libproc/ |
H A D | proc_regs.c | 34 #include <sys/ptrace.h> 53 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0) 96 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0) 125 if (ptrace(PT_SETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0)
|