forked from qt-creator/qt-creator
debugger: simplify the handling of the start script option
Script will be used if and only if there is one given. No extra bool. Change-Id: I095e01b2243f0fa1f7ba2ce9591e3d67b6de5241 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -213,9 +213,6 @@ void GdbServerStarter::attach(int port)
|
||||
sp.executable = localExecutable;
|
||||
sp.startMode = AttachToRemoteServer;
|
||||
sp.closeMode = KillAtClose;
|
||||
sp.overrideStartScript.clear();
|
||||
sp.useServerStartScript = false;
|
||||
sp.serverStartScript.clear();
|
||||
sp.sysRoot = SysRootProfileInformation::sysRoot(d->profile).toString();
|
||||
sp.debuggerCommand = DebuggerProfileInformation::debuggerCommand(d->profile).toString();
|
||||
sp.connParams = d->device->sshParameters();
|
||||
|
||||
Reference in New Issue
Block a user