diff options
author | hjk <hjk@qt.io> | 2016-12-13 09:46:51 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2016-12-15 17:22:18 +0000 |
commit | c2eada278e0fd07decd65fdbc8d5b7993088cc22 (patch) | |
tree | 197fd73e946988b94c2444fa984514d00e30f9ec /src/plugins/debugger/debuggerprotocol.h | |
parent | 6c8d6c97e5b40557139c4ad2594e302e0e522fed (diff) |
Debugger: Fix Window grabbing on GDB
Needs to make namespace detection work without valid frame
Task-number: QTCREATORBUG-17326
Change-Id: Ia7c7017db4ef384d4f246e11a5601d01f4f366f1
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerprotocol.h')
-rw-r--r-- | src/plugins/debugger/debuggerprotocol.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h index e72ffe36063..5204a11a7aa 100644 --- a/src/plugins/debugger/debuggerprotocol.h +++ b/src/plugins/debugger/debuggerprotocol.h @@ -75,6 +75,23 @@ private: void argHelper(const char *name, const QByteArray &value); }; +class DebuggerCommandSequence +{ +public: + DebuggerCommandSequence() {} + bool isEmpty() const { return m_commands.isEmpty(); } + bool wantContinue() const { return m_continue; } + const QList<DebuggerCommand> &commands() const { return m_commands; } + void append(const DebuggerCommand &cmd, bool wantContinue) { + m_commands.append(cmd); + m_continue = wantContinue; + } + +public: + QList<DebuggerCommand> m_commands; + bool m_continue = false; +}; + // FIXME: rename into GdbMiValue class GdbMi { |