This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix Linux attach to signalled/stopped processes
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