Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261883AbUKVBOu (ORCPT ); Sun, 21 Nov 2004 20:14:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261881AbUKVBOu (ORCPT ); Sun, 21 Nov 2004 20:14:50 -0500 Received: from fw.osdl.org ([65.172.181.6]:4225 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261883AbUKVBNd (ORCPT ); Sun, 21 Nov 2004 20:13:33 -0500 Date: Sun, 21 Nov 2004 17:12:55 -0800 (PST) From: Linus Torvalds To: Davide Libenzi cc: 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: 984 Lines: 26 On Sun, 21 Nov 2004, Davide Libenzi wrote: > > You know you're sick, don't you? Making traps inc's to get you in the > correct opcode to move function in edx->fnp, is indeed fruit of a sick > mind :=) I prefer "creative" over "sick". It's so much less judgemental. I thought it was a fun way to illustrate the issue, and I'm sure somebody had fun trying to figure out what the thing did. I could have _obfuscated_ the thing if I had wanted to make it hard to follow, but instead I tried to make it as obvious as possible so that it's quite clear from reading the code what it actually does. But imagine hitting that thing without seeing the source code. NOT a lot of fun to debug, even if the debugger _worked_ on it. 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/