forked from qt-creator/qt-creator
Debugger: remove unused CdbCommand
Change-Id: Idad2b62ca60da1749970ced21445c2d82bc2a798 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -156,16 +156,6 @@ namespace Internal {
|
|||||||
|
|
||||||
static const char localsPrefixC[] = "local.";
|
static const char localsPrefixC[] = "local.";
|
||||||
|
|
||||||
// Base data structure for command queue entries with callback
|
|
||||||
class CdbCommand
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
CdbCommand() = default;
|
|
||||||
CdbCommand(CdbEngine::CommandHandler h) : handler(h) {}
|
|
||||||
|
|
||||||
CdbEngine::CommandHandler handler;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Accessed by DebuggerRunTool
|
// Accessed by DebuggerRunTool
|
||||||
DebuggerEngine *createCdbEngine()
|
DebuggerEngine *createCdbEngine()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,14 +39,11 @@
|
|||||||
namespace Debugger {
|
namespace Debugger {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class CdbCommand;
|
|
||||||
|
|
||||||
class CdbEngine : public CppDebuggerEngine
|
class CdbEngine : public CppDebuggerEngine
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using CdbCommandPtr = QSharedPointer<CdbCommand>;
|
|
||||||
using CommandHandler = std::function<void (const DebuggerResponse &)>;
|
using CommandHandler = std::function<void (const DebuggerResponse &)>;
|
||||||
|
|
||||||
explicit CdbEngine();
|
explicit CdbEngine();
|
||||||
|
|||||||
Reference in New Issue
Block a user