K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-01-15T14:17:07.000000Z K 7 svn:log V 451 - Catch up printtrap() to KSE by using curthread and testing it against NULL rather than curproc. Without this, if we trap early before curthread is set, we recursively panic. - In an SMP kernel, if we trap before curthread is set, then trap is going to recursively panic trying to bump td->td_md.md_kernnest. The trap is fatal anyways, so to make debugging easier just call printtrap() to dump the trap info to the console and then halt. END