From: Ben Gras Date: Wed, 12 May 2010 08:56:11 +0000 (+0000) Subject: kernel: small ammendment to pagefault-in-kernel panic X-Git-Tag: v3.1.7~62 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/ddns-confgen.html?a=commitdiff_plain;h=bfc9c5c3a837c0c96fd208d552118009997c9ca4;p=minix.git kernel: small ammendment to pagefault-in-kernel panic --- diff --git a/kernel/arch/i386/exception.c b/kernel/arch/i386/exception.c index dd16cccb8..89c5dbcb5 100644 --- a/kernel/arch/i386/exception.c +++ b/kernel/arch/i386/exception.c @@ -56,7 +56,7 @@ PRIVATE void pagefault( struct proc *pr, } if(is_nested) { - panic("pagefault in kernel at address 0x%lx", pagefaultcr2); + panic("pagefault in kernel at pc 0x%lx address 0x%lx", frame->eip, pagefaultcr2); } /* System processes that don't have their own page table can't