Lines Matching refs:pid2
321 prepare_thread (pid_t pid2 __attribute__ ((unused)),
330 l = ptrace (PTRACE_GETREGS, pid2, 0, (intptr_t) &user_regs);
333 l = ptrace (PTRACE_SETREGS, pid2, 0, (intptr_t) &user_regs);
335 l = ptrace (PTRACE_CONT, pid2, NULL, (void *) (intptr_t) SIGUSR2);
337 pid_t got = waitpid (pid2, &status, __WALL);
338 assert (got == pid2);
412 pid_t pid2 = waitpid (-1, &status, __WALL);
413 assert (pid2 > 0);
414 assert (pid2 != pid);
470 prepare_thread (pid2, jmp);
473 check_tid = pid2;