forked from qt-creator/qt-creator
centralize gdb comm log queuing
this drastically improves the usefulness of the debugger output window by making internal and external messages appear in sync.
This commit is contained in:
@@ -87,11 +87,6 @@ public:
|
||||
explicit GdbEngine(DebuggerManager *manager);
|
||||
~GdbEngine();
|
||||
|
||||
signals:
|
||||
void gdbInputAvailable(int channel, const QString &msg);
|
||||
void gdbOutputAvailable(int channel, const QString &msg);
|
||||
void applicationOutputAvailable(const QString &output);
|
||||
|
||||
private:
|
||||
friend class AbstractGdbAdapter;
|
||||
friend class AttachGdbAdapter;
|
||||
@@ -235,6 +230,11 @@ private:
|
||||
void updateAll();
|
||||
void updateLocals();
|
||||
|
||||
void gdbInputAvailable(int channel, const QString &msg)
|
||||
{ m_manager->showDebuggerInput(channel, msg); }
|
||||
void gdbOutputAvailable(int channel, const QString &msg)
|
||||
{ m_manager->showDebuggerOutput(channel, msg); }
|
||||
|
||||
private slots:
|
||||
void readGdbStandardOutput();
|
||||
void readGdbStandardError();
|
||||
|
||||
Reference in New Issue
Block a user