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

@@ -74,7 +74,7 @@ void LocalPlainGdbAdapter::startAdapter()
QStringList gdbArgs;
if (!m_outputCollector.listen()) {
emit adapterStartFailed(tr("Cannot set up communication with child process: %1")
m_engine->handleAdapterStartFailed(tr("Cannot set up communication with child process: %1")
.arg(m_outputCollector.errorString()), QString());
return;
}
@@ -90,7 +90,7 @@ void LocalPlainGdbAdapter::startAdapter()
return;
}
emit adapterStarted();
m_engine->handleAdapterStarted();
checkForReleaseBuild();
}