diff --git a/pk/handlers.c b/pk/handlers.c index 7216713..4b4abaf 100644 --- a/pk/handlers.c +++ b/pk/handlers.c @@ -32,8 +32,7 @@ static void handle_illegal_instruction(trapframe_t* tf) static void handle_breakpoint(trapframe_t* tf) { dump_tf(tf); - printk("Breakpoint!\n"); - tf->epc += 4; + panic("Breakpoint!"); } static void handle_misaligned_fetch(trapframe_t* tf)