[PrivCPU] fixed debugger skipping over ebreak instructions
This commit is contained in:
parent
baa1f24eb7
commit
05c17bc029
@ -91,7 +91,8 @@ class PrivCPU(CPU):
|
||||
self.launch_debug = False
|
||||
launch_debug_session(self, self.mmu, self.regs,
|
||||
"Launching debugger:")
|
||||
self._run(verbose)
|
||||
if not self.active_debug:
|
||||
self._run(verbose)
|
||||
else:
|
||||
print()
|
||||
print(FMT_CPU + "Program stopped without exiting - perhaps you stopped the debugger?" + FMT_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user