Breakpoint in int_handler. Function for checking fault in gdb

This commit is contained in:
2017-12-06 22:25:42 +01:00
parent 61bc1221bf
commit 86808bce0d
2 changed files with 16 additions and 0 deletions

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(;;);
}