diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index b9806996416..62c10255bc1 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -41,10 +41,10 @@ LinuxDeviceDebugSupport::LinuxDeviceDebugSupport(RunControl *runControl) setUsePortsGatherer(isCppDebugging(), isQmlDebugging()); addQmlServerInferiorCommandLineArgumentIfNeeded(); - auto gdbServer = new DebugServerRunner(runControl, portsGatherer()); - gdbServer->setEssential(true); + auto debugServer = new DebugServerRunner(runControl, portsGatherer()); + debugServer->setEssential(true); - addStartDependency(gdbServer); + addStartDependency(debugServer); setStartMode(AttachToRemoteServer); setCloseMode(KillAndExitMonitorAtClose);