[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [pushed] [ppc] on program exception, print DAR and DSISR



changeset:   10264:9cbab65a90934d89f02b0b960700b8d384eff1bd
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Fri May 12 16:03:23 2006 -0400
files:       xen/arch/ppc/exceptions.c
description:
[ppc] on program exception, print DAR and DSISR


diff -r bc7c2c8395f2b06a1823a4e7a4379ddff7f73e7e -r 
9cbab65a90934d89f02b0b960700b8d384eff1bd xen/arch/ppc/exceptions.c
--- a/xen/arch/ppc/exceptions.c Fri May 12 10:09:42 2006 -0400
+++ b/xen/arch/ppc/exceptions.c Fri May 12 16:03:23 2006 -0400
@@ -94,6 +94,7 @@ void program_exception(struct cpu_user_r
     __trap_to_gdb(regs, cookie);
 #else /* CRASH_DEBUG */
     show_registers(regs);
-    panic("%s: %lx", __func__, cookie);
+    printk("dar 0x%lx, dsisr 0x%lx\n", mfdar(), mfdsisr());
+    panic("%s: 0x%lx\n", __func__, cookie);
 #endif /* CRASH_DEBUG */
 }



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.