Commit 294ed8a3 authored by ck's avatar ck
Browse files

Maemo: Adapt to new debugger infrastructure.

parent 890e7ea9
......@@ -407,21 +407,8 @@ MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration)
m_debuggerRunControl = qobject_cast<Debugger::DebuggerRunControl *>
(Debugger::DebuggerPlugin::createDebugger(*m_startParams.data()));
connect(m_debuggerRunControl, SIGNAL(debuggingFinished()), this,
connect(m_debuggerRunControl, SIGNAL(finished()), this,
SLOT(debuggingFinished()), Qt::QueuedConnection);
/*
FIXME:
connect(m_debuggerManager, SIGNAL(applicationOutputAvailable(QString, bool)),
this,
#ifdef USE_GDBSERVER
SLOT(debuggerOutput(QString))
#else
SLOT(handleRemoteOutput(QString))
#endif
, Qt::QueuedConnection);
*/
}
MaemoDebugRunControl::~MaemoDebugRunControl()
......@@ -461,7 +448,7 @@ void MaemoDebugRunControl::handleRemoteOutput(const QString &output)
startDebugging();
}
#endif
emit addToOutputWindowInline(this, output, false);
emit addToOutputWindowInline(m_debuggerRunControl, output, false);
}
void MaemoDebugRunControl::startDebugging()
......@@ -489,11 +476,6 @@ void MaemoDebugRunControl::debuggingFinished()
#endif
}
void MaemoDebugRunControl::debuggerOutput(const QString &output)
{
emit appendMessage(this, QLatin1String("[gdb says:] ") + output, true);
}
QString MaemoDebugRunControl::gdbServerPort() const
{
return m_devConfig.type == MaemoDeviceConfig::Physical
......
......@@ -156,7 +156,6 @@ public:
private slots:
virtual void handleRemoteOutput(const QString &output);
void debuggerOutput(const QString &output);
void debuggingFinished();
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment