powerpc: Print trap frame address for fatal traps
MFC after: 1 week
This commit is contained in:
parent
6d8b651c1e
commit
66306e6acd
@ -546,6 +546,7 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user)
|
||||
printf(" current msr = 0x%" PRIxPTR "\n", mfmsr());
|
||||
printf(" lr = 0x%" PRIxPTR " (0x%" PRIxPTR ")\n",
|
||||
frame->lr, frame->lr - (register_t)(__startkernel - KERNBASE));
|
||||
printf(" frame = %p\n", frame);
|
||||
printf(" curthread = %p\n", curthread);
|
||||
if (curthread != NULL)
|
||||
printf(" pid = %d, comm = %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user