[PrivCPU] fixed debugger skipping over ebreak instructions

kernel-mode
Anton Lydike 3 years ago
parent baa1f24eb7
commit 05c17bc029

@ -91,7 +91,8 @@ class PrivCPU(CPU):
self.launch_debug = False self.launch_debug = False
launch_debug_session(self, self.mmu, self.regs, launch_debug_session(self, self.mmu, self.regs,
"Launching debugger:") "Launching debugger:")
self._run(verbose) if not self.active_debug:
self._run(verbose)
else: else:
print() print()
print(FMT_CPU + "Program stopped without exiting - perhaps you stopped the debugger?" + FMT_NONE) print(FMT_CPU + "Program stopped without exiting - perhaps you stopped the debugger?" + FMT_NONE)

Loading…
Cancel
Save