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