Alpha print the symbol of pc and ra during Oops
PATCH 1/1 Alpha print the symbol of pc and ra during Oops
Hi,
The below patch add the symbol information of the pc and ra to the Oops message.
-aneesh
tmp/traps.c renamed from traps.c +2 -0
@@ -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",