* [ PATCH ] Alpha print the symbol of pc and ra during Oops
@ 2004-07-31 12:36 Aneesh Kumar
0 siblings, 0 replies; only message in thread
From: Aneesh Kumar @ 2004-07-31 12:36 UTC (permalink / raw)
To: Andrew Morton, rth, linux-kernel
[-- 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",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-31 12:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-31 12:36 [ PATCH ] Alpha print the symbol of pc and ra during Oops Aneesh Kumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.