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] [xenppc-unstable] [ppc] more register information in the regist

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] more register information in the register dump.
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Jul 2006 18:40:45 +0000
Delivery-date: Wed, 26 Jul 2006 11:45:34 -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>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 1f4c0e1817cabc987ab1d67ab43a9e7ea7032022
# Parent  3ae6752e777677200bdc7e7630716fe3823daff7
[ppc] more register information in the register dump.
also shows SRR0 and SRR1

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/powerpc/powerpc64/traps.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff -r 3ae6752e7776 -r 1f4c0e1817ca xen/arch/powerpc/powerpc64/traps.c
--- a/xen/arch/powerpc/powerpc64/traps.c        Wed Jul 26 14:24:09 2006 -0400
+++ b/xen/arch/powerpc/powerpc64/traps.c        Wed Jul 26 14:25:07 2006 -0400
@@ -35,8 +35,12 @@ void show_registers(struct cpu_user_regs
            XEN_VERSION, XEN_SUBVERSION, XEN_EXTRAVERSION);
     printk("CPU: %08x   DOMID: %08x\n",
            smp_processor_id(), current->domain->domain_id);
-    printk("pc %016lx msr %016lx\n  lr %016lx ctr %016lx\n",
-            regs->pc, regs->msr, regs->lr, regs->ctr);
+    printk("pc %016lx msr %016lx\n"
+           "lr %016lx ctr %016lx\n"
+           "srr0 %016lx srr1 %016lx\n",
+           regs->pc, regs->msr,
+           regs->lr, regs->ctr,
+           regs->srr0, regs->srr1);
     for (i=0; i<32; i+=4) {
         printk("r%02i: %016lx %016lx %016lx %016lx\n", i,
             regs->gprs[i], regs->gprs[i+1], regs->gprs[i+2], regs->gprs[i+3]);

_______________________________________________
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] [xenppc-unstable] [ppc] more register information in the register dump., Xen patchbot-xenppc-unstable <=