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");
|
||||
setUsePortsGatherer(true, false);
|
||||
portsGatherer()->setDevice(runControl->device());
|
||||
|
||||
auto gdbServer = new GdbServerRunner(runControl, portsGatherer());
|
||||
gdbServer->setUseMulti(false);
|
||||
|
@@ -1043,7 +1043,6 @@ GdbServerPortsGatherer::GdbServerPortsGatherer(RunControl *runControl)
|
||||
: ChannelProvider(runControl, 2)
|
||||
{
|
||||
setId("GdbServerPortsGatherer");
|
||||
m_device = runControl->device();
|
||||
}
|
||||
|
||||
GdbServerPortsGatherer::~GdbServerPortsGatherer() = default;
|
||||
@@ -1070,11 +1069,6 @@ QUrl GdbServerPortsGatherer::qmlServer() const
|
||||
return channel(1);
|
||||
}
|
||||
|
||||
void GdbServerPortsGatherer::setDevice(IDevice::ConstPtr device)
|
||||
{
|
||||
m_device = device;
|
||||
}
|
||||
|
||||
// GdbServerRunner
|
||||
|
||||
GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer *portsGatherer)
|
||||
|
@@ -155,12 +155,9 @@ public:
|
||||
Utils::Port qmlServerPort() const;
|
||||
QUrl qmlServer() const;
|
||||
|
||||
void setDevice(ProjectExplorer::IDevice::ConstPtr device);
|
||||
|
||||
private:
|
||||
bool m_useGdbServer = false;
|
||||
bool m_useQmlServer = false;
|
||||
ProjectExplorer::IDevice::ConstPtr m_device;
|
||||
};
|
||||
|
||||
class DEBUGGER_EXPORT GdbServerRunner : public ProjectExplorer::SimpleTargetRunner
|
||||
|
Reference in New Issue
Block a user