[patch] Fix Linux attach to signalled/stopped processes

Daniel Jacobowitz drow@false.org
Thu Apr 10 19:59:00 GMT 2008


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



More information about the Gdb-patches mailing list