Lines Matching refs:ptrace
9 * types of ptrace enabled breakpoints
14 #include <sys/ptrace.h>
25 #include "ptrace.h"
53 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, dbginfo)) {
120 if (ptrace(PTRACE_TRACEME, 0, NULL, 0)) {
211 ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &siginfo);
224 * For ptrace registered watchpoint, signal is generated
228 ptrace(PTRACE_SINGLESTEP, child_pid, NULL, 0);
235 if (ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, wp_addr)) {
243 int wh = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, info);
254 if (ptrace(PPC_PTRACE_DELHWDEBUG, child_pid, 0, wh) < 0) {
276 ptrace(PTRACE_CONT, child_pid, NULL, 0);
286 ptrace(PTRACE_CONT, child_pid, NULL, 0);
297 ptrace(PTRACE_CONT, child_pid, NULL, 0);
316 ptrace(PTRACE_CONT, child_pid, NULL, 0);
349 ptrace(PTRACE_CONT, child_pid, NULL, 0);
356 ptrace(PTRACE_CONT, child_pid, NULL, 0);
363 ptrace(PTRACE_CONT, child_pid, NULL, 0);
379 ptrace(PTRACE_CONT, child_pid, NULL, 0);
397 ptrace(PTRACE_CONT, child_pid, NULL, 0);
406 ptrace(PTRACE_CONT, child_pid, NULL, 0);
415 ptrace(PTRACE_CONT, child_pid, NULL, 0);
433 ptrace(PTRACE_CONT, child_pid, NULL, 0);
442 ptrace(PTRACE_CONT, child_pid, NULL, 0);
451 ptrace(PTRACE_CONT, child_pid, NULL, 0);
470 ptrace(PTRACE_CONT, child_pid, NULL, 0);
488 ptrace(PTRACE_CONT, child_pid, NULL, 0);
532 ptrace(PTRACE_CONT, child_pid, NULL, 0);
549 return test_harness(ptrace_hwbreak, "ptrace-hwbreak");