forked from qt-creator/qt-creator
debugger: make startGdb response handling asyncronous
This allows adapters to take all responses from the startup commands into account. Change-Id: I295cb211a4b69cfb8c59b34030aaee8120ffe98e Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -63,13 +63,18 @@ void AttachGdbAdapter::startAdapter()
|
||||
{
|
||||
QTC_ASSERT(state() == EngineSetupRequested, qDebug() << state());
|
||||
showMessage(_("TRYING TO START ADAPTER"));
|
||||
m_engine->startGdb();
|
||||
}
|
||||
|
||||
if (!m_engine->startGdb())
|
||||
return;
|
||||
|
||||
void AttachGdbAdapter::handleGdbStartDone()
|
||||
{
|
||||
m_engine->handleAdapterStarted();
|
||||
}
|
||||
|
||||
void AttachGdbAdapter::handleGdbStartFailed()
|
||||
{
|
||||
}
|
||||
|
||||
void AttachGdbAdapter::setupInferior()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
|
||||
|
||||
Reference in New Issue
Block a user