debugger: streamline communication between GdbEngine and the adapters

This commit is contained in:
hjk
2010-07-08 12:41:26 +02:00
parent 2385e15b2d
commit 405f340e2b
12 changed files with 73 additions and 114 deletions

View File

@@ -65,7 +65,7 @@ void CoreGdbAdapter::startAdapter()
if (!m_engine->startGdb())
return;
emit adapterStarted();
m_engine->handleAdapterStarted();
}
void CoreGdbAdapter::startInferior()
@@ -161,7 +161,7 @@ void CoreGdbAdapter::handleTargetCore(const GdbResponse &response)
} else {
QString msg = tr("Attach to core \"%1\" failed:\n").arg(startParameters().coreFile)
+ QString::fromLocal8Bit(response.data.findChild("msg").data());
emit inferiorStartFailed(msg);
m_engine->handleInferiorStartFailed(msg);
}
}