Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261916AbUKVE3w (ORCPT ); Sun, 21 Nov 2004 23:29:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261919AbUKVE3w (ORCPT ); Sun, 21 Nov 2004 23:29:52 -0500 Received: from fw.osdl.org ([65.172.181.6]:43688 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261916AbUKVE3r (ORCPT ); Sun, 21 Nov 2004 23:29:47 -0500 Date: Sun, 21 Nov 2004 20:29:06 -0800 (PST) From: Linus Torvalds To: Davide Libenzi cc: Andreas Schwab , Daniel Jacobowitz , Eric Pouech , Roland McGrath , Mike Hearn , Linux Kernel Mailing List , Andrew Morton , wine-devel Subject: Re: ptrace single-stepping change breaks Wine In-Reply-To: Message-ID: References: <200411152253.iAFMr8JL030601@magilla.sf.frob.com> <419E42B3.8070901@wanadoo.fr> <419E4A76.8020909@wanadoo.fr> <419E5A88.1050701@wanadoo.fr> <20041119212327.GA8121@nevyn.them.org> <20041120214915.GA6100@tesore.ph.cox.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1076 Lines: 25 On Sun, 21 Nov 2004, Davide Libenzi wrote: > > So it seems it did not work even before, the gdb-SIGTRAP stepping. In > 2.6.8 I get a straight segfault just for running it. Ok, that at least means it's not a regression, although it may be that the altered behaviour is enough to make some program work/not-work depending on exactly what it is testing. My example is certainly not the only way to try to mess up a debugger. I'm by no means 100% sure that we should encourage the kind of programming "skills" I showed with that example program, so in that sense this may not be worth worrying about. That said, I do hate the notion of having programs that are basically undebuggable, so from a QoI standpoint I'd really like to say that you can run my horrid little program under the debugger and see it work... Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/