forked from qt-creator/qt-creator
BareMetal: Get rid of unused GdbServerProviderProcess class
We don't need in this class, because the remote GDB servers are launches by the RunWorker. Besides, the BareMetalDevice::canCreateProcess() and the BareMetalDevice::createProcess() are not even gets called at all. Tested with the STM32 Nucleo-F767ZI board using the ST-Util GDB provider. Change-Id: I8d3770ec59738c63aa44dd39d371a1b443a81f9a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "gdbserverproviderprocess.h"
|
||||
#include "jlinkgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
@@ -143,13 +142,6 @@ bool JLinkGdbServerProvider::isValid() const
|
||||
return true;
|
||||
}
|
||||
|
||||
ProjectExplorer::DeviceProcess *JLinkGdbServerProvider::createProcess(
|
||||
const QSharedPointer<const ProjectExplorer::IDevice> &device,
|
||||
QObject *parent) const
|
||||
{
|
||||
return new GdbServerProviderProcess(device, parent);
|
||||
}
|
||||
|
||||
GdbServerProvider *JLinkGdbServerProvider::clone() const
|
||||
{
|
||||
return new JLinkGdbServerProvider(*this);
|
||||
|
||||
Reference in New Issue
Block a user