Debugger: Merge EngineSetup and InferiorSetup start phases

It was needed in the past to trigger e.g. gdbserver setup in
remote cases which is nowadays handled by separate RunWorkers.

Change-Id: I30bce071dab0779cce2e7abef7b31550d8539461
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2017-11-15 17:12:03 +01:00
parent 2427f1267f
commit 8f1a161c64
16 changed files with 90 additions and 219 deletions

View File

@@ -322,16 +322,6 @@ void QmlEngine::setState(DebuggerState state, bool forced)
updateCurrentContext();
}
void QmlEngine::setupInferior()
{
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
notifyInferiorSetupOk();
if (d->automaticConnect)
beginConnection();
}
void QmlEngine::handleLauncherStarted()
{
// FIXME: The QmlEngine never calls notifyInferiorPid() triggering the
@@ -593,6 +583,9 @@ void QmlEngine::shutdownEngine()
void QmlEngine::setupEngine()
{
notifyEngineSetupOk();
if (d->automaticConnect)
beginConnection();
}
void QmlEngine::continueInferior()