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

[Xen-changelog] [xen-unstable] [powerpc] more register information in the register dump.



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 15e4b258a69a4745491429ce6212bc6aed6b721a
# Parent  80e2c1b3f9b1911077407db98c342ff7e6b0f35e
[powerpc] more register information in the register dump.

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

diff -r 80e2c1b3f9b1 -r 15e4b258a69a 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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