debugger: work on a "synchroneous" mode

For the case that gdb can give all the interesting data in one go.
This commit is contained in:
hjk
2009-10-12 14:50:27 +02:00
parent 982347dda5
commit 7e3d954195
3 changed files with 129 additions and 35 deletions

View File

@@ -146,9 +146,10 @@ private:
Q_SLOT void setDebugDebuggingHelpers(const QVariant &on);
Q_SLOT void setUseDebuggingHelpers(const QVariant &on);
Q_SLOT void setAutoDerefPointers(const QVariant &on);
virtual bool isGdbEngine() const { return true; }
bool isGdbEngine() const { return true; }
bool isSynchroneous() const;
virtual bool checkConfiguration(int toolChain, QString *errorMessage, QString *settingsPage= 0) const;
bool checkConfiguration(int toolChain, QString *errorMessage, QString *settingsPage= 0) const;
//
// Own stuff
@@ -347,6 +348,9 @@ private:
void handleStackListFrames(const GdbResponse &response);
void handleStackSelectThread(const GdbResponse &response);
void handleStackListThreads(const GdbResponse &response);
void handleStackFrame1(const GdbResponse &response);
void handleStackFrame2(const GdbResponse &response);
QByteArray m_firstChunk;
Q_SLOT void reloadStack(bool forceGotoLocation);
Q_SLOT void reloadFullStack();