# 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
|