Breakpoint in int_handler. Function for checking fault in gdb

This commit is contained in:
thomas committed 2018-03-20 14:11:21 +01:00
1 parent 61bc1221bf
commit 86808bce0d
2 files changed
+16

No files matched your search

+2
View File
@@ -38,5 +38,7 @@ registers *int_handler(registers *r)
debug("Unhandled interrupt occurred\n");
debug("Interrupt number: %d Error code: %d\n", r->int_no, r->err_code);
debug_print_registers(r);
PANIC("Unhandled interrupt occurred");
for(;;);
}