forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user