From: Aneesh Kumar <aneesh.kumar@gmail.com>
To: Andrew Morton <akpm@osdl.org>,
rth@redhat.com, linux-kernel@vger.kernel.org
Subject: [ PATCH ] Alpha print the symbol of pc and ra during Oops
Date: Sat, 31 Jul 2004 18:06:59 +0530 [thread overview]
Message-ID: <cc723f590407310536634ede0b@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 95 bytes --]
Hi,
The below patch add the symbol information of the pc and ra to the
Oops message.
-aneesh
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: traps.c.diff --]
[-- Type: text/x-patch; name="traps.c.diff", Size: 652 bytes --]
--- traps.c 2004-07-31 18:02:39.000000000 +0530
+++ /tmp/traps.c 2004-07-31 18:04:19.000000000 +0530
@@ -63,10 +63,12 @@
void
dik_show_regs(struct pt_regs *regs, unsigned long *r9_15)
{
printk("pc = [<%016lx>] ra = [<%016lx>] ps = %04lx %s\n",
regs->pc, regs->r26, regs->ps, print_tainted());
+ print_symbol("pc is at %s\n", regs->pc);
+ print_symbol("ra is at %s\n", regs->r26 );
printk("v0 = %016lx t0 = %016lx t1 = %016lx\n",
regs->r0, regs->r1, regs->r2);
printk("t2 = %016lx t3 = %016lx t4 = %016lx\n",
regs->r3, regs->r4, regs->r5);
printk("t5 = %016lx t6 = %016lx t7 = %016lx\n",
reply other threads:[~2004-07-31 12:37 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=cc723f590407310536634ede0b@mail.gmail.com \
--to=aneesh.kumar@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@redhat.com \
/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