projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc664a1
)
Dump interrupt frame info on user fault.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 1 Sep 2004 01:16:42 +0000
(
01:16
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 1 Sep 2004 01:16:42 +0000
(
01:16
+0000)
src/threads/interrupt.c
patch
|
blob
|
history
diff --git
a/src/threads/interrupt.c
b/src/threads/interrupt.c
index 5227486f4212c3d6ccab71f1e998c39fbef9ec8c..885d25021f14b335ea72890d1fd7672e12907ca0 100644
(file)
--- 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: