Browse Source

pk: make breakpoints fatal

Resolves #216
remap
Andrew Waterman 5 years ago
parent
commit
4f1e335585
  1. 3
      pk/handlers.c

3
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)

Loading…
Cancel
Save