diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
index dddc6bd71de2a72fcb18183a670e59dae7a7a18a..43e94f744103775b6a4e9dd599c316a02c293b39 100644
--- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
+++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
@@ -209,8 +209,9 @@ void AbstractRemoteLinuxDebugSupport::startExecution()
 
     const QString remoteCommandLine = (d->qmlDebugging && !d->cppDebugging)
         ? QString::fromLatin1("%1 %2 %3").arg(runner()->commandPrefix()).arg(remoteExe).arg(args)
-        : QString::fromLatin1("%1 gdbserver :%2 %3 %4").arg(runner()->commandPrefix())
-              .arg(d->gdbServerPort).arg(remoteExe).arg(args);
+        : QString::fromLatin1("%1 gdbserver %5:%2 %3 %4").arg(runner()->commandPrefix())
+              .arg(d->gdbServerPort).arg(remoteExe).arg(args)
+              .arg(runner()->connection()->connectionInfo().peerAddress.toString());
     connect(runner(), SIGNAL(remoteProcessFinished(qint64)),
         SLOT(handleRemoteProcessFinished(qint64)));
     runner()->startExecution(remoteCommandLine.toUtf8());