Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245AbZIYKB4 (ORCPT ); Fri, 25 Sep 2009 06:01:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752161AbZIYKB4 (ORCPT ); Fri, 25 Sep 2009 06:01:56 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:45941 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752134AbZIYKBz (ORCPT ); Fri, 25 Sep 2009 06:01:55 -0400 Date: Fri, 25 Sep 2009 11:02:06 +0100 From: Alan Cox To: Mathieu Desnoyers Cc: Arjan van de Ven , Ingo Molnar , "H. Peter Anvin" , Jason Baron , Thomas Gleixner , Steven Rostedt , Andi Kleen , linux-kernel@vger.kernel.org, Masami Hiramatsu , Prasanna S Panchamukhi , Rusty Lynch , Jim Keniston , Vamsi Krishna S , Suparna Bhattacharya , Nathan Sidwell , Dominique Toupin , Anton Massoud , Richard J Moore Subject: Re: Immediate values Message-ID: <20090925110206.50ab8a20@lxorguk.ukuu.org.uk> In-Reply-To: <20090925073512.GA10346@Krystal> References: <20090924191642.GA19225@elte.hu> <20090924193422.GB2533@elte.hu> <20090925085119.2b77ea04@infradead.org> <20090925073512.GA10346@Krystal> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 17 > Then, following your advice, kprobes should be re-designed to do a > stop_machine around the int3 breakpoint insertion ? And gdb > should be stopping all threads of a target process before inserting a > breakpoint. Therefore, I do not seem to be the only one confused about > Intel statement on this issue. There was considerable discussion abut this when the kprobe stuff went in. If I remember rightly it was stated by someone @intel.com then that int3 was ok (even though its not strictly documented as such). The same is not true for all instructions on all x86 processors unfortunately. Alan -- 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/