aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_cli')
-rw-r--r--qtmips_cli/reporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_cli/reporter.cpp b/qtmips_cli/reporter.cpp
index 70d1d27..bcb9d65 100644
--- a/qtmips_cli/reporter.cpp
+++ b/qtmips_cli/reporter.cpp
@@ -48,7 +48,7 @@ void Reporter::machine_trap(QtMipsException &e) {
else if (etype == typeid(QtMipsExceptionUnalignedJump))
expected = e_fail & FR_J;
- cout << "Machine trapped: " << e.what() << endl;
+ cout << "Machine trapped: " << e.msg(false).toStdString() << endl;
app->exit(expected ? 0 : 1);
}