forked from qt-creator/qt-creator
debugger: simpler handling of the ipv6 case
Change-Id: If1d5bdd5afd2aeebfcf39e72045ef4327cb84c0c Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -110,10 +110,7 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R
|
||||
params.startMode = AttachToRemoteServer;
|
||||
params.executable = runConfig->localExecutableFilePath();
|
||||
params.debuggerCommand = runConfig->gdbCmd();
|
||||
QString host = devConf->sshParameters().host;
|
||||
params.remoteChannel = host.contains(QLatin1Char(':'))
|
||||
? QString::fromLatin1("[%1]:-1").arg(host)
|
||||
: host + QLatin1String(":-1");
|
||||
params.remoteChannel = devConf->sshParameters().host + QLatin1String(":-1");
|
||||
|
||||
// TODO: This functionality should be inside the debugger.
|
||||
const ProjectExplorer::Abi &abi = runConfig->target()
|
||||
|
||||
Reference in New Issue
Block a user