Debugger: Let the DebuggerRunTool optionally handle the PortsGatherer

Less code in the target implementations.

Change-Id: I759f082eba5eab7f4e8252c0d7b5ec64059ba860
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-10-19 14:23:43 +02:00
parent c99b8c2fd1
commit f521b2428d
3 changed files with 41 additions and 23 deletions

View File

@@ -39,6 +39,8 @@ class TerminalRunner;
class DebuggerRunToolPrivate;
} // Internal
class GdbServerPortsGatherer;
class DEBUGGER_EXPORT DebuggerRunTool : public ProjectExplorer::RunWorker
{
Q_OBJECT
@@ -71,6 +73,9 @@ public:
bool isQmlDebugging() const;
int portsUsedByDebugger() const;
void setUsePortsGatherer(bool useCpp, bool useQml);
GdbServerPortsGatherer *portsGatherer() const;
void setSolibSearchPath(const QStringList &list);
void addSolibSearchDir(const QString &str);