Lines Matching refs:ptrace
2 /*--- Implementation of vgdb invoker subsystem via ptrace() calls. ---*/
40 #include <sys/ptrace.h>
87 // vgdb cannot transmit the signals intercepted during ptrace.
119 buffer[i] = ptrace (PTRACE_PEEKTEXT, inferior_pid,
161 buffer[0] = ptrace (PTRACE_PEEKTEXT, inferior_pid,
166 = ptrace (PTRACE_PEEKTEXT, inferior_pid,
181 ptrace (PTRACE_POKETEXT, inferior_pid,
190 /* subset of VG_(threads) needed for vgdb ptrace.
293 As ptrace is forcing a call to gdbserver by jumping
309 res = ptrace (PTRACE_GETSIGINFO, pid, NULL, newsiginfo);
317 res = ptrace (PTRACE_CONT, pid, NULL, 0);
320 res = ptrace (PTRACE_CONT, pid, NULL, signal_received);
365 res = ptrace (PTRACE_ATTACH, pid, NULL, NULL);
498 res = ptrace (PTRACE_DETACH, vgdb_threads[i].lwpid, NULL, NULL);
515 res = ptrace (PTRACE_DETACH, pid, NULL, NULL);
572 res = ptrace (PTRACE_GETREGSET, pid, NT_PRSTATUS, &iovec);
607 res = ptrace (PTRACE_GETREGS, pid, NULL, regs);
650 *(long *)(pregs+offset) = ptrace(PTRACE_PEEKUSER, pid, offset, NULL);
687 res = ptrace (PTRACE_SETREGSET, pid, NT_PRSTATUS, &iovec);
705 res = ptrace (PTRACE_SETREGS, pid, NULL, regs);
727 res = ptrace(PTRACE_POKEUSER, pid, offset, *(long*)(pregs+offset));
771 res = ptrace (PTRACE_CONT, pid_of_save_regs, NULL,
877 I_die_here : (sp) architecture missing in vgdb-invoker-ptrace.c
964 I_die_here : architecture missing in vgdb-invoker-ptrace.c
1075 I_die_here: architecture missing in vgdb-invoker-ptrace.c
1101 res = ptrace (PTRACE_CONT, pid, NULL, NULL);