forked from qt-creator/qt-creator
Debugger: Remove GdbServerPortsGatherer::setDevice
Apparently not used anymore. Change-Id: Ic9ee826edd383254dcb77ea435843904a53d10a8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1640,7 +1640,6 @@ public:
|
|||||||
{
|
{
|
||||||
setId("AttachToRunningProcess");
|
setId("AttachToRunningProcess");
|
||||||
setUsePortsGatherer(true, false);
|
setUsePortsGatherer(true, false);
|
||||||
portsGatherer()->setDevice(runControl->device());
|
|
||||||
|
|
||||||
auto gdbServer = new GdbServerRunner(runControl, portsGatherer());
|
auto gdbServer = new GdbServerRunner(runControl, portsGatherer());
|
||||||
gdbServer->setUseMulti(false);
|
gdbServer->setUseMulti(false);
|
||||||
|
@@ -1043,7 +1043,6 @@ GdbServerPortsGatherer::GdbServerPortsGatherer(RunControl *runControl)
|
|||||||
: ChannelProvider(runControl, 2)
|
: ChannelProvider(runControl, 2)
|
||||||
{
|
{
|
||||||
setId("GdbServerPortsGatherer");
|
setId("GdbServerPortsGatherer");
|
||||||
m_device = runControl->device();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GdbServerPortsGatherer::~GdbServerPortsGatherer() = default;
|
GdbServerPortsGatherer::~GdbServerPortsGatherer() = default;
|
||||||
@@ -1070,11 +1069,6 @@ QUrl GdbServerPortsGatherer::qmlServer() const
|
|||||||
return channel(1);
|
return channel(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbServerPortsGatherer::setDevice(IDevice::ConstPtr device)
|
|
||||||
{
|
|
||||||
m_device = device;
|
|
||||||
}
|
|
||||||
|
|
||||||
// GdbServerRunner
|
// GdbServerRunner
|
||||||
|
|
||||||
GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer *portsGatherer)
|
GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer *portsGatherer)
|
||||||
|
@@ -155,12 +155,9 @@ public:
|
|||||||
Utils::Port qmlServerPort() const;
|
Utils::Port qmlServerPort() const;
|
||||||
QUrl qmlServer() const;
|
QUrl qmlServer() const;
|
||||||
|
|
||||||
void setDevice(ProjectExplorer::IDevice::ConstPtr device);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_useGdbServer = false;
|
bool m_useGdbServer = false;
|
||||||
bool m_useQmlServer = false;
|
bool m_useQmlServer = false;
|
||||||
ProjectExplorer::IDevice::ConstPtr m_device;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class DEBUGGER_EXPORT GdbServerRunner : public ProjectExplorer::SimpleTargetRunner
|
class DEBUGGER_EXPORT GdbServerRunner : public ProjectExplorer::SimpleTargetRunner
|
||||||
|
Reference in New Issue
Block a user