From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25750 invoked by alias); 18 Sep 2006 20:54:45 -0000 Received: (qmail 25734 invoked by uid 22791); 18 Sep 2006 20:54:44 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 18 Sep 2006 20:54:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GPQ8W-0001eg-Ew for gdb-patches@sourceware.org; Mon, 18 Sep 2006 16:54:40 -0400 Date: Mon, 18 Sep 2006 20:54:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [patch] Fix attaching to Linux stopped processes Message-ID: <20060918205440.GA6292@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20060917221228.GA17263@host0.dyn.jankratochvil.net> <20060917222622.GA2150@nevyn.them.org> <20060918095331.GA9299@host0.dyn.jankratochvil.net> <20060918131616.GA22307@nevyn.them.org> <20060918204912.GA1869@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060918204912.GA1869@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00102.txt.bz2 On Mon, Sep 18, 2006 at 10:49:12PM +0200, Jan Kratochvil wrote: > (I did not test but) I expect the Red Hat kernels behavior change is due to the > new utrace patch from Intel present in Red Hat kernels. It is going to be > imported to kernel.org one day changing the current (IMO broken - I may be > wrong) kernels behavior. Actually, I think it's probably a separate issue: Roland McGrath wrote utrace, and he was pretty meticulous about matching existing ptrace behavior. It may be a change since the last time I looked at his patches. I definitely agree that the current kernel behavior is not very useful. It may be that the "signal 0" behavior you describe is better, but I'll let linux-kernel figure that out... > Still I consider the patch to be better than the current behavior but still it > is not fully functional, sorry for its submission; going to check the patches > on kernel.org kernels next time. Patch update from me possible later. Thanks; hopefully this will be fixed in kernel.org sometime soon. And hopefully utrace will be merged, too. -- Daniel Jacobowitz CodeSourcery