From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14414 invoked by alias); 4 Feb 2011 18:58:24 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 14405 invoked by uid 22791); 4 Feb 2011 18:58:24 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Oleg Nesterov X-Fcc: ~/Mail/utrace Cc: Project Archer Subject: Re: ptrace improvement ideas In-Reply-To: Oleg Nesterov's message of Friday, 4 February 2011 19:48:32 +0100 <20110204184832.GA20887@redhat.com> References: <20110203223905.D0C77180081@magilla.sf.frob.com> <20110204184832.GA20887@redhat.com> Message-Id: <20110204185815.78DEF1807AF@magilla.sf.frob.com> Date: Fri, 04 Feb 2011 18:58:00 -0000 X-SW-Source: 2011-q1/txt/msg00028.txt.bz2 > > * PTRACE_ATTACH_NOSTOP > > How about PTRACE_DETACH_NOSTOP? Like PTRACE_DETACH, but doesn't > require the stopped tracee. Yes, that is a good idea too. > I was really amazed when I looked into strace sources. The code > which handles detach is soooooo complicated (and I do not blame > strace). But, again, I do not know if this makes sense for GDB. It is dismal, I know--I wrote it. But that was very long ago, before a whole lot of kernel fixes in that area. Thanks, Roland