save a few lines of unnecessary output.

This commit is contained in:
Ben Gras 2009-09-23 13:27:21 +00:00
parent b2e3153263
commit 9e53925504
2 changed files with 3 additions and 6 deletions

View File

@ -449,11 +449,9 @@ register struct proc *rc; /* slot of process to clean up */
/* This test is great for debugging system processes dying, /* This test is great for debugging system processes dying,
* but as this happens normally on reboot, not good permanent code. * but as this happens normally on reboot, not good permanent code.
*/ */
kprintf("process %s / %d died; stack: ", rc->p_name, rc->p_endpoint); kprintf("died: ");
proc_stacktrace(rc); proc_stacktrace(rc);
kprintf("kernel trace: "); minix_panic("system process died", rc->p_endpoint);
util_stacktrace();
minix_panic("clear_proc: system process died", rc->p_endpoint);
} }
/* Make sure that the exiting process is no longer scheduled. */ /* Make sure that the exiting process is no longer scheduled. */

View File

@ -46,8 +46,7 @@ if (!minix_panicing++) {
kprintf("\n"); kprintf("\n");
} }
kprintf("proc_ptr %s / %d\n", proc_ptr->p_name, proc_ptr->p_endpoint); kprintf("kernel: ");
kprintf("kernel stacktrace: ");
util_stacktrace(); util_stacktrace();
} }