Commit e8be2acd authored by hjk's avatar hjk
Browse files

debugger: refactoring

parent ad6ee1ca
......@@ -4242,8 +4242,6 @@ IDebuggerEngine *createSymbianEngine(DebuggerManager *parent,
GdbEngine *engine = new GdbEngine(parent);
TrkGdbAdapter *adapter = new TrkGdbAdapter(engine, options);
engine->setGdbAdapter(adapter);
QObject::connect(adapter, SIGNAL(output(QString)),
parent, SLOT(showDebuggerOutput(QString)));
return engine;
}
......
......@@ -275,8 +275,13 @@ void TrkGdbAdapter::startInferiorEarly()
void TrkGdbAdapter::logMessage(const QString &msg)
{
if (m_verbose)
if (m_verbose) {
#ifdef STANDALONE_RUNNER
emit output(msg);
#else
m_engine->debugMessage(msg);
#endif
}
}
//
......
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