Author: emaste
Date: Mon Mar 22 11:52:53 2010
New Revision: 205444
URL: http://svn.freebsd.org/changeset/base/205444

Log:
  Merge r197455 from amd64:
  
    Add a backtrace to the "fpudna in kernel mode!" case, to help track down
    where this comes from.
  
    Reviewed by:        bde

Modified:
  head/sys/i386/i386/trap.c

Modified: head/sys/i386/i386/trap.c
==============================================================================
--- head/sys/i386/i386/trap.c   Mon Mar 22 11:32:19 2010        (r205443)
+++ head/sys/i386/i386/trap.c   Mon Mar 22 11:52:53 2010        (r205444)
@@ -540,6 +540,10 @@ trap(struct trapframe *frame)
                         * XXX this should be fatal unless the kernel has
                         * registered such use.
                         */
+                       printf("npxdna in kernel mode!\n");
+#ifdef KDB
+                       kdb_backtrace();
+#endif
                        if (npxdna())
                                goto out;
 #endif
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to