Add a backtrace to the "fpudna in kernel mode!" case, to help track down
where this comes from. Reviewed by: bde
This commit is contained in:
parent
249e7759ac
commit
43721b6e84
@ -505,8 +505,11 @@ trap(struct trapframe *frame)
|
||||
* XXX this should be fatal unless the kernel has
|
||||
* registered such use.
|
||||
*/
|
||||
fpudna();
|
||||
printf("fpudna in kernel mode!\n");
|
||||
#ifdef KDB
|
||||
kdb_backtrace();
|
||||
#endif
|
||||
fpudna();
|
||||
goto out;
|
||||
|
||||
case T_STKFLT: /* stack fault */
|
||||
|
Loading…
x
Reference in New Issue
Block a user