forked from qt-creator/qt-creator
Debugger: Fix attaching to remote application.
Task-number: QTCREATORBUG-15210 Change-Id: Ia78e34737e4a66c6aaa0015e85002168717d29d7 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user