From ec63424386df76be513b367767267f3fef54e883 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 13 Jan 2025 19:41:14 +0100 Subject: [PATCH] Debugger: Get rid of SubChannelProvider leftovers Change-Id: Ib06232af7c4a5901ae921c9a7975d3aa0b3ebaa3 Reviewed-by: hjk --- src/plugins/debugger/debuggerruncontrol.cpp | 38 --------------------- src/plugins/debugger/debuggerruncontrol.h | 2 -- 2 files changed, 40 deletions(-) diff --git a/src/plugins/debugger/debuggerruncontrol.cpp b/src/plugins/debugger/debuggerruncontrol.cpp index f3ac12b4cdc..6d9803b0288 100644 --- a/src/plugins/debugger/debuggerruncontrol.cpp +++ b/src/plugins/debugger/debuggerruncontrol.cpp @@ -560,44 +560,6 @@ void DebuggerRunTool::showMessage(const QString &msg, int channel, int timeout) } } -//////////////////////////////////////////////////////////////////////// -// -// Externally visible helper. -// -//////////////////////////////////////////////////////////////////////// - -/*! - \class Debugger::SubChannelProvider - - The class implements a \c RunWorker to provide a url - indicating usable connection end - points for 'server-using' tools (typically one, like plain - gdbserver and the Qml tooling, but two for mixed debugging). - - Urls can describe local or tcp servers that are directly - accessible to the host tools. - - By default it is assumed that no forwarding is needed, i.e. - end points provided by the shared endpoint resource provider - are directly accessible. - - The tool implementations can assume that any needed port - forwarding setup is setup and handled transparently by - a \c SubChannelProvider instance. - - If there are multiple subchannels needed that need to share a - common set of resources on the remote side, a device implementation - can provide a "SharedEndpointGatherer" RunWorker. - - If none is provided, it is assumed that the shared resource - is open TCP ports, provided by the device's PortGatherer i - implementation. - - FIXME: The current implementation supports only the case - of "any number of TCP channels that do not need actual - forwarding. -*/ - void DebuggerRunTool::startDebugServerIfNeededAndContinueStartup() { if (!runControl()->usesDebugChannel()) { diff --git a/src/plugins/debugger/debuggerruncontrol.h b/src/plugins/debugger/debuggerruncontrol.h index 26f2a45c3c0..b6e5e7947f0 100644 --- a/src/plugins/debugger/debuggerruncontrol.h +++ b/src/plugins/debugger/debuggerruncontrol.h @@ -17,8 +17,6 @@ namespace Debugger { namespace Internal { class DebuggerRunToolPrivate; } -class SubChannelProvider; - class DEBUGGER_EXPORT DebuggerRunTool : public ProjectExplorer::RunWorker { public: