Lines Matching refs:pid2
258 prepare_thread (pid_t pid2 __attribute__ ((unused)),
267 l = ptrace (PTRACE_GETREGS, pid2, 0, (intptr_t) &user_regs);
271 l = ptrace (PTRACE_SETREGS, pid2, 0, (intptr_t) &user_regs);
274 l = ptrace (PTRACE_CONT, pid2, NULL, (void *) (intptr_t) SIGUSR2);
276 pid_t got = waitpid (pid2, &status, __WALL);
278 assert (got == pid2);
354 pid_t pid2 = waitpid (-1, &status, __WALL);
356 assert (pid2 > 0);
357 assert (pid2 != pid);
414 prepare_thread (pid2, jmp);
417 check_tid = pid2;