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:
hjk
2017-10-20 13:42:47 +02:00
parent 5b2a46e3a0
commit 9f690d814f
3 changed files with 1 additions and 2 deletions

View File

@@ -1009,6 +1009,7 @@ GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer
setDisplayName("GdbServerRunner");
if (runControl->runnable().is<StandardRunnable>())
m_runnable = runControl->runnable().as<StandardRunnable>();
addStartDependency(m_portsGatherer);
}
GdbServerRunner::~GdbServerRunner()