diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/linux-gnu/trace.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/linux-gnu/trace.c b/sysdeps/linux-gnu/trace.c index 466c0c2..38b4839 100644 --- a/sysdeps/linux-gnu/trace.c +++ b/sysdeps/linux-gnu/trace.c @@ -150,15 +150,6 @@ int trace_pid(pid_t pid) return -1; } - /* man ptrace: PTRACE_ATTACH attaches to the process specified - in pid. The child is sent a SIGSTOP, but will not - necessarily have stopped by the completion of this call; - use wait() to wait for the child to stop. */ - if (waitpid (pid, NULL, 0) != pid) { - perror ("trace_pid: waitpid"); - exit (1); - } - return 0; } |