Dump interrupt frame info on user fault.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 1 Sep 2004 01:16:42 +0000 (01:16 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 1 Sep 2004 01:16:42 +0000 (01:16 +0000)
src/threads/interrupt.c

index 5227486f4212c3d6ccab71f1e998c39fbef9ec8c..885d25021f14b335ea72890d1fd7672e12907ca0 100644 (file)
@@ -280,6 +280,7 @@ intr_kill (struct intr_frame *f)
     case SEL_UCSEG:
       printk ("%s: dying due to interrupt %#04x (%s).\n",
               thread_current ()->name, f->vec_no, intr_name (f->vec_no));
+      dump_intr_frame (f);
       thread_exit (); 
 
     case SEL_KCSEG: