diff options
Diffstat (limited to 'qtmips_machine/core.cpp')
-rw-r--r-- | qtmips_machine/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp index 8bf3977..b75e31b 100644 --- a/qtmips_machine/core.cpp +++ b/qtmips_machine/core.cpp @@ -231,7 +231,7 @@ struct Core::dtMemory Core::memory(const struct dtExecute &dt) { emit memory_memwrite_value(memwrite); emit memory_regw_num_value(dt.rwrite); - if (dt.excause == EXCAUSE_BREAK) + if ((dt.excause == EXCAUSE_BREAK) || (dt.excause == EXCAUSE_SYSCALL)) emit memory_break_reached(); return { |