forked from qt-creator/qt-creator
Debugger: Move start dependency on PortsGatherer to GdbServerRunner
It's always needed and GdbServerRunner knows the PortsGatherer. This also makes the setup more similar to the QNX PDebugRunner setup. Change-Id: I5863d2c77cd5c92d0f25682d655c9901b8939c30 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -43,7 +43,6 @@ LinuxDeviceDebugSupport::LinuxDeviceDebugSupport(RunControl *runControl)
|
||||
addQmlServerInferiorCommandLineArgumentIfNeeded();
|
||||
|
||||
auto gdbServer = new GdbServerRunner(runControl, portsGatherer());
|
||||
gdbServer->addStartDependency(portsGatherer());
|
||||
|
||||
addStartDependency(gdbServer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user