From: Ben Pfaff Date: Wed, 1 Sep 2004 01:16:42 +0000 (+0000) Subject: Dump interrupt frame info on user fault. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5834933e7bb494704522fc6be1a57780882c591;p=pintos-anon Dump interrupt frame info on user fault. --- diff --git a/src/threads/interrupt.c b/src/threads/interrupt.c index 5227486..885d250 100644 --- a/src/threads/interrupt.c +++ b/src/threads/interrupt.c @@ -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: