From: Ben Gras Date: Mon, 29 Mar 2010 15:32:19 +0000 (+0000) Subject: don't print SYSTEM stacktrace on exceptions as it's not scheduled any more. X-Git-Tag: v3.1.7~193 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.png?a=commitdiff_plain;h=f2b87f5fb76368e76bbf2934fcaa3280e188fda5;p=minix.git don't print SYSTEM stacktrace on exceptions as it's not scheduled any more. --- diff --git a/kernel/arch/i386/exception.c b/kernel/arch/i386/exception.c index 334938df8..541add43b 100644 --- a/kernel/arch/i386/exception.c +++ b/kernel/arch/i386/exception.c @@ -66,9 +66,6 @@ void pagefault( struct proc *pr, pr->p_endpoint, pr->p_name, pr->p_reg.pc, pagefaultcr2, frame->errcode, is_nested); proc_stacktrace(pr); - if(pr->p_endpoint != SYSTEM) { - proc_stacktrace(proc_addr(SYSTEM)); - } printf("pc of pagefault: 0x%lx\n", frame->eip); panic("page fault in system process: %d", pr->p_endpoint);