forked from qt-creator/qt-creator
Debugger/[gdb]: Remote debugging: Override toolchain gdb-detection
if an executable was specified.
This commit is contained in:
@@ -1479,7 +1479,9 @@ void DebuggerPlugin::startRemoteApplication()
|
||||
sp->remoteChannel = dlg.remoteChannel();
|
||||
sp->remoteArchitecture = dlg.remoteArchitecture();
|
||||
sp->executable = dlg.localExecutable();
|
||||
sp->debuggerCommand = dlg.debugger();
|
||||
sp->debuggerCommand = dlg.debugger(); // Override toolchain-detection.
|
||||
if (!sp->debuggerCommand.isEmpty())
|
||||
sp->toolChainType = ProjectExplorer::ToolChain::INVALID;
|
||||
sp->startMode = StartRemote;
|
||||
if (dlg.useServerStartScript())
|
||||
sp->serverStartScript = dlg.serverStartScript();
|
||||
|
||||
Reference in New Issue
Block a user