aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/valgrindengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-02-06 17:57:25 +0100
committerhjk <hjk@qt.io>2017-08-24 12:58:37 +0000
commit6c5146ac67644e62397448af542ecf48353db445 (patch)
tree870c5420adefffe5f663b87b6cce3fa5496733ef /src/plugins/valgrind/valgrindengine.cpp
parentdf796e2aa543928495d11c3d4eb5b810d8800e58 (diff)
Valgrind: Better output message for debuggee exit codes
The values are not "unknown errors", but known to be exit codes of the debuggee. Change-Id: Icc5e99d463269f1f167ab7b49b78b92c2e4c6b65 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/plugins/valgrind/valgrindengine.cpp')
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index 13beca1fa0..cfe6648b01 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -177,7 +177,7 @@ void ValgrindToolRunner::receiveProcessError(const QString &message, QProcess::P
} else if (m_isStopping && error == QProcess::Crashed) { // process gets killed on stop
appendMessage(tr("Process terminated."), ErrorMessageFormat);
} else {
- appendMessage(QString("** %1 **\n").arg(message), ErrorMessageFormat);
+ appendMessage(tr("Process exited with return value %1\n").arg(message), NormalMessageFormat);
}
if (m_isStopping)