From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17590 invoked by alias); 30 Jun 2007 11:45:14 -0000 Received: (qmail 17580 invoked by uid 22791); 30 Jun 2007 11:45:14 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 30 Jun 2007 11:45:11 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-73-173.inter.net.il [80.230.73.173]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IFE59944 (AUTH halo1); Sat, 30 Jun 2007 14:45:01 +0300 (IDT) Date: Sat, 30 Jun 2007 11:57:00 -0000 Message-Id: From: Eli Zaretskii To: Jan Kratochvil CC: gdb-patches@sourceware.org, mark.kettenis@xs4all.nl In-reply-to: <20070630101854.GA29173@host0.dyn.jankratochvil.net> (message from Jan Kratochvil on Sat, 30 Jun 2007 12:18:54 +0200) Subject: Re: [patch] Fix Linux attach to signalled/stopped processes Reply-to: Eli Zaretskii References: <20070606143432.GA11555@host0.dyn.jankratochvil.net> <200706151801.l5FI1xH6022843@brahms.sibelius.xs4all.nl> <20070626210341.GA1406@host0.dyn.jankratochvil.net> <200706262254.l5QMsrPn007445@brahms.sibelius.xs4all.nl> <20070627065203.GA9427@host0.dyn.jankratochvil.net> <20070630101854.GA29173@host0.dyn.jankratochvil.net> 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: 2007-06/txt/msg00536.txt.bz2 > Date: Sat, 30 Jun 2007 12:18:54 +0200 > From: Jan Kratochvil > Cc: Mark Kettenis > > On Wed, 27 Jun 2007 08:52:03 +0200, Jan Kratochvil wrote: > ... > > OK, going to move it to linux-nat.c. > > Done; various parts changed. > > > There is one ugly workaround part (described in the comments in the patch). > Testcase for this workaround is also attached, it appears as (another) Linux > kernel ptrace(2) bug to me. Is it worth workarounding it? IMO not worth > fixing as it is a corner case and UTRACE is going to provide alternative API. > > Tested on x86_64, on upstream 2.6.22-rc4-git7 and Red Hat kernel-2.6.9-55.EL. Will this cause any user-visible changes in behavior? If so, I think we should reflect it in NEWS at the very least. Thanks.