Commit 6633bc99 authored by David Schulz's avatar David Schulz

Cdb: Remove command sequences.

Simplify the CdbResponse to become more like the DebuggerResponse.

Change-Id: Ifdd7c69e340b4c18c0e1187eb2173979feccd5b9
Reviewed-by: default avatarNiels Weber <>
parent 6b2094b0
This diff is collapsed.
......@@ -60,15 +60,6 @@ class CdbEngine : public DebuggerEngine
// Flag bits for a sequence of commands
enum CommandSequenceFlags {
CommandListStack = 0x1,
CommandListThreads = 0x2,
CommandListRegisters = 0x4,
CommandListModules = 0x8,
CommandListBreakPoints = 0x10
typedef QSharedPointer<CdbCommand> CdbCommandPtr;
typedef std::function<void(const CdbResponse &)> CommandHandler;
......@@ -128,6 +119,7 @@ public:
void reloadSourceFiles() override;
void reloadFullStack() override;
void loadAdditionalQmlStack() override;
void listBreakpoints();
static QString extensionLibraryName(bool is64Bit);
......@@ -138,15 +130,12 @@ private slots:
void processFinished();
void postCommand(const QByteArray &cmd);
void postBuiltinCommand(const QByteArray &cmd,
CommandHandler handler,
unsigned nextCommandFlag = 0);
CommandHandler handler);
void postExtensionCommand(const QByteArray &cmd,
const QByteArray &arguments,
CommandHandler handler,
unsigned nextCommandFlag = 0);
CommandHandler handler);
void postCommandSequence(unsigned mask);
void operateByInstructionTriggered(bool);
void verboseLogTriggered(bool);
......@@ -214,7 +203,6 @@ private:
void postResolveSymbol(const QString &module, const QString &function,
DisassemblerAgent *agent);
// Builtin commands
void dummyHandler(const CdbResponse &);
void handleStackTrace(const CdbResponse &);
void handleRegisters(const CdbResponse &);
void handleDisassembler(const CdbResponse &, DisassemblerAgent *agent);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment