BRK exceptions should resume *after* the BRK instruction
This commit is contained in:
parent
a0fa0361ae
commit
3d1dff8495
|
@ -924,6 +924,7 @@ static void vm_execute(vm_t *vm) {
|
||||||
case OP(SZ_HALF, OP_BRK):
|
case OP(SZ_HALF, OP_BRK):
|
||||||
case OP(SZ_WORD, OP_BRK): {
|
case OP(SZ_WORD, OP_BRK): {
|
||||||
VM_PRELUDE_0();
|
VM_PRELUDE_0();
|
||||||
|
vm->pointer_instr = vm->pointer_instr_mut;
|
||||||
vm_panic(vm, FOX32_ERR_DEBUGGER);
|
vm_panic(vm, FOX32_ERR_DEBUGGER);
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user