Re: [patch] Fix Linux attach to signalled/stopped processes

Daniel Jacobowitz
2008-04-10T16:05:06Z

On Thu, Apr 10, 2008 at 05:52:44PM +0200, Jan Kratochvil wrote:
> Oh, OK. But the same way works for me even for PTRACE_CONT:
>
> after
> ptrace (PTRACE_CONT, child_pid, NULL, (void *) (long) SIGSTOP):
> State T (stopped)
> Pid 5771
> TracerPid 5770
>
> $ kill -CONT 5771
> and then:
> State T (tracing stop)
> Pid 5771
> TracerPid 5770

Thanks, I see. I will take another stab at it this afternoon.

--
Daniel Jacobowitz
CodeSourcery