debugger: fix remote adapter startup

This commit is contained in:
hjk
2010-09-06 11:33:07 +02:00
parent 053f36c45d
commit 0e2a7608f2
4 changed files with 10 additions and 3 deletions

View File

@@ -88,6 +88,10 @@ void RemoteGdbServerAdapter::startAdapter()
{
QTC_ASSERT(state() == EngineSetupRequested, qDebug() << state());
showMessage(_("TRYING TO START ADAPTER"));
if (!startParameters().useServerStartScript) {
handleSetupDone();
return;
}
if (startParameters().serverStartScript.isEmpty()) {
showMessage(_("No server start script given. "), StatusBar);
emit requestSetup();