forked from qt-creator/qt-creator
Debugger: Rework thread data aquisition
Listen to gdb/MI notifications when possible. This is more granular, gives access to the thread group id and takes care of thread changes at any time. Change-Id: I8c67f6f19b204059deefdf7e07fe3b4ce13ed963 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "stackframe.h"
|
||||
#include "watchhandler.h"
|
||||
#include "watchutils.h"
|
||||
#include "threaddata.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QProcess>
|
||||
@@ -437,7 +438,7 @@ private: ////////// Inferior Management //////////
|
||||
private: ////////// View & Data Stuff //////////
|
||||
protected:
|
||||
|
||||
void selectThread(int index);
|
||||
void selectThread(ThreadId threadId);
|
||||
void activateFrame(int index);
|
||||
void resetLocation();
|
||||
|
||||
@@ -664,7 +665,6 @@ protected:
|
||||
|
||||
// For short-circuiting stack and thread list evaluation.
|
||||
bool m_stackNeeded;
|
||||
int m_currentThreadId;
|
||||
|
||||
//
|
||||
// Qml
|
||||
|
||||
Reference in New Issue
Block a user