Compile fix in debugger.

Change-Id: Ib0557fe1f2810879350c2de687ab00c261f0365f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-01-06 14:29:05 +01:00
parent 02d3e3d291
commit 4e2a4bb87c
3 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ void AttachGdbAdapter::handleAttach(const GdbResponse &response)
break;
case GdbResultError:
if (response.data.findChild("msg").data() == "ptrace: Operation not permitted.") {
m_engine->notifyInferiorSetupFailed(DumperHelper::msgPtraceErr(startParameters().startMode));
m_engine->notifyInferiorSetupFailed(DumperHelper::msgPtraceError(startParameters().startMode));
break;
}
// if msg != "ptrace: ..." fall through

View File

@@ -167,7 +167,7 @@ public:
QString toString(bool debug = false) const;
static QString msgDumperOutdated(double requiredVersion, double currentVersion);
static QString msgPtraceErr(DebuggerStartMode sm);
static QString msgPtraceError(DebuggerStartMode sm);
private:
typedef QMap<QByteArray, Type> NameTypeMap;

View File

@@ -165,7 +165,7 @@ void TermGdbAdapter::handleStubAttached(const GdbResponse &response)
break;
case GdbResultError:
if (response.data.findChild("msg").data() == "ptrace: Operation not permitted.") {
m_engine->notifyInferiorSetupFailed(DumperHelper::msgPtraceErr(startParameters().startMode));
m_engine->notifyInferiorSetupFailed(DumperHelper::msgPtraceError(startParameters().startMode));
break;
}
m_engine->notifyInferiorSetupFailed(QString::fromLocal8Bit(response.data.findChild("msg").data()));