aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qtmips_machine/qtmipsmachine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp
index c8b072b..e047167 100644
--- a/qtmips_machine/qtmipsmachine.cpp
+++ b/qtmips_machine/qtmipsmachine.cpp
@@ -98,10 +98,9 @@ QtMipsMachine::QtMipsMachine(const MachineConfig &cc, bool load_symtab) :
for (int i = 0; i < EXCAUSE_COUNT; i++) {
if (i != EXCAUSE_INT && i != EXCAUSE_BREAK && i != EXCAUSE_HWBREAK) {
-
+ set_stop_on_exception((enum ExceptionCause)i, cc.osemu_exception_stop());
+ set_step_over_exception((enum ExceptionCause)i, cc.osemu_exception_stop());
}
- set_stop_on_exception((enum ExceptionCause)i, cc.osemu_exception_stop());
- set_step_over_exception((enum ExceptionCause)i, cc.osemu_exception_stop());
}
set_stop_on_exception(EXCAUSE_INT, cc.osemu_interrupt_stop());