From: Rusty Lynch <rusty.lynch@intel.com>
To: akpm@osdl.org
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
Rusty Lynch <rusty.lynch@intel.com>, Keith Owens <kaos@sgi.com>
Subject: [patch][ia64] Change break 0 notification string
Date: Tue, 24 May 2005 09:47:00 -0700 [thread overview]
Message-ID: <200505241647.j4OGl0sK006514@linux.jf.intel.com> (raw)
At the point in traps.c where we recieve a break with a zero value, we
can not say if the break was a result of a kprobe or some other debug
facility.
This simple patch changes the informational string to a more correct
"break 0" value, and applies to the 2.6.12-rc2-mm2 tree with all the
kprobes patches that were just recently included for the next mm cut.
--rusty
arch/ia64/kernel/traps.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.12-rc4/arch/ia64/kernel/traps.c
===================================================================
--- linux-2.6.12-rc4.orig/arch/ia64/kernel/traps.c
+++ linux-2.6.12-rc4/arch/ia64/kernel/traps.c
@@ -133,7 +133,7 @@ ia64_bad_break (unsigned long break_num,
switch (break_num) {
case 0: /* unknown error (used by GCC for __builtin_abort()) */
- if (notify_die(DIE_BREAK, "kprobe", regs, break_num, TRAP_BRKPT, SIGTRAP)
+ if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP)
== NOTIFY_STOP) {
return;
}
reply other threads:[~2005-05-24 16:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505241647.j4OGl0sK006514@linux.jf.intel.com \
--to=rusty.lynch@intel.com \
--cc=akpm@osdl.org \
--cc=anil.s.keshavamurthy@intel.com \
--cc=kaos@sgi.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox