From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21913 invoked by alias); 10 Apr 2008 16:05:06 -0000 Received: (qmail 21900 invoked by uid 22791); 10 Apr 2008 16:05:03 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Apr 2008 16:04:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 8A52E980FC; Thu, 10 Apr 2008 16:04:42 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 68FF1980F7; Thu, 10 Apr 2008 16:04:42 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JjzGT-00084f-Ot; Thu, 10 Apr 2008 12:04:41 -0400 Date: Thu, 10 Apr 2008 19:59:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: Roland McGrath , Doug Evans , GDB Patches , mark.kettenis@xs4all.nl Subject: Re: [patch] Fix Linux attach to signalled/stopped processes Message-ID: <20080410160441.GB30392@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , Roland McGrath , Doug Evans , GDB Patches , mark.kettenis@xs4all.nl References: <20080401223012.GA14076@host0.dyn.jankratochvil.net> <20080401224936.5F0EC26F8DC@magilla.localdomain> <20080410151545.GC21662@caradoc.them.org> <20080410153017.GA4814@host0.dyn.jankratochvil.net> <20080410153854.GE21662@caradoc.them.org> <20080410155244.GA5805@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080410155244.GA5805@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00202.txt.bz2 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