WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

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

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] on program exception, print DAR and DSISR
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 15 May 2006 17:50:13 -0400
Delivery-date: Mon, 15 May 2006 14:48:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] on program exception, print DAR and DSISR, jimix <=