From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27377 invoked by alias); 1 Apr 2008 22:50:11 -0000 Received: (qmail 27369 invoked by uid 22791); 1 Apr 2008 22:50:10 -0000 X-Spam-Check-By: sourceware.org Received: from qmta08.westchester.pa.mail.comcast.net (HELO QMTA08.westchester.pa.mail.comcast.net) (76.96.62.80) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 22:49:49 +0000 Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA08.westchester.pa.mail.comcast.net with comcast id 8KtE1Z0020vyq2s5807g00; Tue, 01 Apr 2008 22:48:47 +0000 Received: from gateway.sf.frob.com ([76.102.158.52]) by OMTA05.westchester.pa.mail.comcast.net with comcast id 8Npe1Z00H18718U3R00000; Tue, 01 Apr 2008 22:49:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=Mp8WEBwWbE8A:10 a=RYFLW6ebtpNBegQnzZ7X4w==:17 a=BfZ5_kuLRnKyowIBdLsA:9 a=4F53ztxi-x4iEqaI1ULhvI7LeXgA:4 a=CWfAmLVWKswA:10 Received: from magilla.localdomain (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id DDFEB357B; Tue, 1 Apr 2008 14:49:37 -0800 (PST) Received: by magilla.localdomain (Postfix, from userid 5281) id 5F0EC26F8DC; Tue, 1 Apr 2008 15:49:36 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Jan Kratochvil Cc: Doug Evans , GDB Patches , mark.kettenis@xs4all.nl Subject: Re: [patch] Fix Linux attach to signalled/stopped processes In-Reply-To: Jan Kratochvil's message of Wednesday, 2 April 2008 00:30:12 +0200 <20080401223012.GA14076@host0.dyn.jankratochvil.net> References: <20080401223012.GA14076@host0.dyn.jankratochvil.net> X-Antipastobozoticataclysm: Bariumenemanilow Message-Id: <20080401224936.5F0EC26F8DC@magilla.localdomain> Date: Wed, 02 Apr 2008 00:07:00 -0000 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/msg00031.txt.bz2 I'm not sure if there was any question for me about kernel behavior in there. As a gdb user, I have long been annoyed by the behavior on attaching to a stopped process. What I want is for attach to complete immediately and let me examine the process. If I then "cont", the process should go back to what it was doing--sitting in job control stop. Then fg or otherwise sending SIGCONT will wake it up normally, and gdb should stop and tell me about the SIGCONT like normal. Thanks, Roland