by smtp.nexlab.net (Postfix) with ESMTP id A8568FB6B for <[email protected]>; Tue, 24 May 2005 10:01:40 +0200 (CEST)
Received: ([email protected]) by vger.kernel.org via listexpand
id S261269AbVEXFmL (ORCPT <rfc822;[email protected]>); Tue, 24 May 2005 01:42:11 -0400
Received: ([email protected]) by vger.kernel.org id S261321AbVEXFmK
(ORCPT <rfc822;linux-kernel-outgoing>); Tue, 24 May 2005 01:42:10 -0400
Received: from omx2-ext.sgi.com ([192.48.171.19]:48580 "EHLO omx2.sgi.com")
by vger.kernel.org with ESMTP id S261269AbVEXFlZ (ORCPT <rfc822;[email protected]>); Tue, 24 May 2005 01:41:25 -0400
Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130])
by omx2.sgi.com (8.12.11/8.12.9/linux-outbound_gateway-1.1) with SMTP id j4O7QNoS007911; Tue, 24 May 2005 00:26:24 -0700
Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id PAA17209; Tue, 24 May 2005 15:40:40 +1000
Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331)
id 470C270010B; Tue, 24 May 2005 15:40:40 +1000 (EST)
Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1])
by kao2.melbourne.sgi.com (Postfix) with ESMTP id 439671000F2; Tue, 24 May 2005 15:40:40 +1000 (EST)
X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4
From: Keith Owens <[email protected]>
To: Anil S Keshavamurthy <[email protected]>
Cc: [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [patch 1/4] Kprobes support for IA64
In-reply-to: Your message of "Mon, 23 May 2005 08:39:07 MST."
<[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 24 May 2005 15:40:40 +1000
Message-ID: <[email protected]>
Sender: [email protected]
Precedence: bulk
X-Mailing-List: [email protected]
Quoted 10 lines · Anil S Keshavamurthy
This patch adds the kdebug die notification mechanism needed by Kprobes.
case 0: /* unknown error (used by GCC for__builtin_abort()) */(quoted diff) +4
-0+ if (notify_die(DIE_BREAK, "kprobe", regs, break_num, TRAP_BRKPT, SIGTRAP) + == NOTIFY_STOP) { + return; + }die_if_kernel("bugcheck!", regs, break_num); sig = SIGILL; code = ILL_ILLOPC; break;
Nit pick. Any break instruction in a B slot will set break_num 0, so you cannot tell if the break was inserted by kprobe or by another debugger. Setting the string to "kprobe" is misleading here, change it to "break 0".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/