Searched refs:ptrace (Results 251 - 275 of 511) sorted by relevance

<<11121314151617181920>>

/netbsd-current/sys/kern/
H A Dsys_process.c116 * ptrace() requests should actually do, and its text is quoted several times
135 #include <sys/ptrace.h>
/netbsd-current/sys/arch/arm/include/
H A DMakefile18 ptrace.h \
/netbsd-current/sys/arch/mips/include/
H A DMakefile15 pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Daarch64-sve-linux-ptrace.c25 #include "aarch64-sve-linux-ptrace.h"
30 /* See nat/aarch64-sve-linux-ptrace.h. */
45 if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
62 /* See nat/aarch64-sve-linux-ptrace.h. */
73 if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
81 if (ptrace (PTRACE_SETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
90 /* See nat/aarch64-sve-linux-ptrace.h. */
103 /* If vg is not available yet, fetch it from ptrace. The VG value from
104 ptrace is likely the correct one. */
119 /* See nat/aarch64-sve-linux-ptrace
[all...]
H A Dppc-linux.h21 #include <asm/ptrace.h>
69 don't have a specific powerpc version of ptrace.h, and fall back on
70 a generic one. In such cases, sys/ptrace.h defines
72 ppc kernel's asm/ptrace.h defines PTRACE_GETVRREGS and
89 /* Similarly for the ptrace requests for getting / setting the SPE
H A Dmips-linux-watch.h21 #include <asm/ptrace.h>
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Ds390-linux-nat.c30 #include "nat/linux-ptrace.h"
37 #include <asm/ptrace.h>
44 #include "inf-ptrace.h"
257 /* Find the TID for the current inferior thread to use with ptrace. */
280 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
297 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
302 if (ptrace (PTRACE_POKEUSR_AREA, tid, (long) &parea, 0) < 0)
317 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
334 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
339 if (ptrace (PTRACE_POKEUSR_ARE
[all...]
H A Dalpha-linux-nat.c28 #include <alpha/ptrace.h>
33 /* The address of UNIQUE for ptrace. */
H A Dsparc-nat.c26 #include <sys/ptrace.h>
34 #include "inf-ptrace.h"
37 not all) ptrace(2) based SPARC systems, which includes SunOS 4,
40 First, we need a data structure for use with ptrace(2). SunOS has
62 /* Second, we need to remap the BSD ptrace(2) requests to their SunOS
85 /* Support for NetBSD threads: unlike other ptrace implementations in this
87 return ptrace (request, ptid.pid (), addr, ptid.lwp ());
90 return ptrace (request, pid, addr, 0);
267 /* If PT_WCOOKIE is defined (by <sys/ptrace.h>), assume we're
280 if (ptrace (PT_WCOOKI
[all...]
H A Dnbsd-nat.c30 /* Use <sys/ptrace.h> directly, instead of "nat/gdb_ptrace.h". Otherwise,
33 #include <sys/ptrace.h>
490 if (ptrace (request, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
491 perror_with_name (("ptrace"));
499 if (ptrace (PT_RESUME, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
500 perror_with_name (("ptrace"));
506 if (ptrace (PT_SETSTEP, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
507 perror_with_name (("ptrace"));
512 if (ptrace (PT_CLEARSTEP, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
513 perror_with_name (("ptrace"));
[all...]
/netbsd-current/sys/arch/riscv/riscv/
H A Dprocess_machdep.c37 #include <sys/ptrace.h>
/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dppc-linux.h21 #include <asm/ptrace.h>
69 don't have a specific powerpc version of ptrace.h, and fall back on
70 a generic one. In such cases, sys/ptrace.h defines
72 ppc kernel's asm/ptrace.h defines PTRACE_GETVRREGS and
89 /* Similarly for the ptrace requests for getting / setting the SPE
H A Dmips-linux-watch.h21 #include <asm/ptrace.h>
H A Daarch64-sve-linux-ptrace.c25 #include "aarch64-sve-linux-ptrace.h"
31 /* See nat/aarch64-sve-linux-ptrace.h. */
46 if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
63 /* See nat/aarch64-sve-linux-ptrace.h. */
74 if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
82 if (ptrace (PTRACE_SETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
91 /* See nat/aarch64-sve-linux-ptrace.h. */
104 /* If vg is not available yet, fetch it from ptrace. The VG value from
105 ptrace is likely the correct one. */
120 /* See nat/aarch64-sve-linux-ptrace
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdbserver/
H A Dnetbsd-aarch64-low.cc19 #include <sys/ptrace.h>
H A Dlinux-arm-low.cc385 if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
398 (using PID as ptrace argument) and set up arm_linux_hwbp_cap. */
404 if (ptrace (PTRACE_GETHBPREGS, pid, 0, &val) < 0)
548 /* The current ptrace interface can only handle watchpoints that are a
709 ptrace (PTRACE_GETSIGINFO, lwpid_of (current_thread), 0, &siginfo);
840 if (ptrace (PTRACE_SETHBPREGS, pid,
846 if (ptrace (PTRACE_SETHBPREGS, pid,
860 if (ptrace (PTRACE_SETHBPREGS, pid,
866 if (ptrace (PTRACE_SETHBPREGS, pid,
973 if (ptrace (PTRACE_GETVFPREG
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dalpha-linux-nat.c28 #include <alpha/ptrace.h>
33 /* The address of UNIQUE for ptrace. */
H A Dsparc-nat.c26 #include <sys/ptrace.h>
34 #include "inf-ptrace.h"
37 not all) ptrace(2) based SPARC systems, which includes SunOS 4,
40 First, we need a data structure for use with ptrace(2). SunOS has
62 /* Second, we need to remap the BSD ptrace(2) requests to their SunOS
85 /* Support for NetBSD threads: unlike other ptrace implementations in this
87 return ptrace (request, ptid.pid (), addr, ptid.lwp ());
90 return ptrace (request, pid, addr, 0);
280 /* If PT_WCOOKIE is defined (by <sys/ptrace.h>), assume we're
293 if (ptrace (PT_WCOOKI
[all...]
H A Darm-fbsd-nat.c27 #include <sys/ptrace.h>
33 #include "inf-ptrace.h"
H A Dnetbsd-nat.c31 #include <sys/ptrace.h>
487 if (ptrace (request, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
488 perror_with_name (("ptrace"));
496 if (ptrace (PT_RESUME, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
497 perror_with_name (("ptrace"));
503 if (ptrace (PT_SETSTEP, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
504 perror_with_name (("ptrace"));
509 if (ptrace (PT_CLEARSTEP, tp->ptid.pid (), NULL, tp->ptid.lwp ()) == -1)
510 perror_with_name (("ptrace"));
518 /* An address of (void *)1 tells ptrace t
[all...]
H A Ds390-linux-nat.c30 #include "nat/linux-ptrace.h"
38 #include <asm/ptrace.h>
45 #include "inf-ptrace.h"
257 /* Find the TID for the current inferior thread to use with ptrace. */
280 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
297 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
302 if (ptrace (PTRACE_POKEUSR_AREA, tid, (long) &parea, 0) < 0)
317 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
334 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea, 0) < 0)
339 if (ptrace (PTRACE_POKEUSR_ARE
[all...]
/netbsd-current/sys/arch/virt68k/include/
H A DMakefile18 proc.h profile.h psl.h pte.h ptrace.h \
/netbsd-current/sys/arch/m68k/include/
H A DMakefile18 psl.h pte_motorola.h ptrace.h \
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/
H A Dlinux-arm-low.cc385 if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
398 (using PID as ptrace argument) and set up arm_linux_hwbp_cap. */
404 if (ptrace (PTRACE_GETHBPREGS, pid, 0, &val) < 0)
548 /* The current ptrace interface can only handle watchpoints that are a
709 ptrace (PTRACE_GETSIGINFO, lwpid_of (current_thread), 0, &siginfo);
840 if (ptrace (PTRACE_SETHBPREGS, pid,
846 if (ptrace (PTRACE_SETHBPREGS, pid,
860 if (ptrace (PTRACE_SETHBPREGS, pid,
866 if (ptrace (PTRACE_SETHBPREGS, pid,
973 if (ptrace (PTRACE_GETVFPREG
[all...]
/netbsd-current/external/bsd/libproc/dist/
H A Dproc_create.c116 if (ptrace(PT_ATTACH, phdl->pid, 0, 0) != 0) {
118 DPRINTF("ERROR: cannot ptrace child process %d", pid);
166 if (ptrace(PT_TRACE_ME, 0, 0, 0) != 0)

Completed in 230 milliseconds

<<11121314151617181920>>