Commit 497e6d30 authored by Christian Kandeler's avatar Christian Kandeler Committed by hjk

Debugger: Fix attaching to remote application.

Task-number: QTCREATORBUG-15210
Change-Id: Ia78e34737e4a66c6aaa0015e85002168717d29d7
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 763ecea5
......@@ -214,6 +214,7 @@ void GdbServerStarter::attach(int port)
DebuggerRunParameters rp;
rp.masterEngineType = GdbEngineType;
rp.connParams.host = d->device->sshParameters().host;
rp.connParams.port = port;
rp.remoteChannel = rp.connParams.host + QLatin1Char(':') + QString::number(rp.connParams.port);
rp.displayName = tr("Remote: \"%1:%2\"").arg(rp.connParams.host).arg(port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment