Date: Sat, 9 Mar 2019 03:18:38 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r344960 - head/sys/powerpc/powerpc Message-ID: <201903090318.x293IcLc023548@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat Mar 9 03:18:37 2019 New Revision: 344960 URL: https://svnweb.freebsd.org/changeset/base/344960 Log: powerpc: Print trap frame address for fatal traps MFC after: 1 week Modified: head/sys/powerpc/powerpc/trap.c Modified: head/sys/powerpc/powerpc/trap.c ============================================================================== --- head/sys/powerpc/powerpc/trap.c Sat Mar 9 03:15:09 2019 (r344959) +++ head/sys/powerpc/powerpc/trap.c Sat Mar 9 03:18:37 2019 (r344960) @@ -546,6 +546,7 @@ printtrap(u_int vector, struct trapframe *frame, int i 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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903090318.x293IcLc023548>