RemoteLinuxRunSupport: Fix broken code

Fix broken debug and profiling support on remote linux.

Change-Id: Ic4173a47b8fd450a92407a66fa338c18f7062736
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Aurindam Jana
2013-07-19 10:15:47 +02:00
parent d53609d27b
commit 2a1ca98958
4 changed files with 26 additions and 29 deletions

View File

@@ -198,14 +198,16 @@ void LinuxDeviceDebugSupport::handleAppRunnerFinished(bool success)
else if (!success)
d->engine->notifyInferiorIll();
} else {
} else if (state() == StartingRunner){
d->engine->notifyEngineRemoteSetupFailed(tr("Debugging failed."));
}
reset();
}
void LinuxDeviceDebugSupport::handleDebuggingFinished()
{
setFinished();
reset();
}
void LinuxDeviceDebugSupport::handleRemoteOutput(const QByteArray &output)