Lines Matching refs:pid2
274 prepare_thread (pid_t pid2 __attribute__ ((unused)), in prepare_thread() argument
283 l = ptrace (PTRACE_GETREGS, pid2, 0, (intptr_t) &user_regs); in prepare_thread()
286 l = ptrace (PTRACE_SETREGS, pid2, 0, (intptr_t) &user_regs); in prepare_thread()
288 l = ptrace (PTRACE_CONT, pid2, NULL, (void *) (intptr_t) SIGUSR2); in prepare_thread()
290 pid_t got = waitpid (pid2, &status, __WALL); in prepare_thread()
291 assert (got == pid2); in prepare_thread()
365 pid_t pid2 = waitpid (-1, &status, __WALL); in exec_dump() local
366 assert (pid2 > 0); in exec_dump()
367 assert (pid2 != pid); in exec_dump()
423 prepare_thread (pid2, jmp); in exec_dump()
426 check_tid = pid2; in exec_dump()