forked from qt-creator/qt-creator
Debugger: Make updateThreads() a setThreads()
(and keep updateThread() for the single-thread case) All backends create full lists, making that explicit allows to simplify the interface. Change-Id: I717cfcf3ec9f8e81df8a5dfc71ae84855bc3beae Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -79,13 +79,12 @@ public:
|
||||
|
||||
int currentThreadIndex() const;
|
||||
Thread currentThread() const;
|
||||
Thread threadAt(int index) const;
|
||||
Thread threadForId(const QString &id) const;
|
||||
void setCurrentThread(const Thread &thread);
|
||||
QString pidForGroupId(const QString &groupId) const;
|
||||
|
||||
void updateThread(const ThreadData &threadData);
|
||||
void updateThreads(const GdbMi &data);
|
||||
void setThreads(const GdbMi &data);
|
||||
|
||||
void removeThread(const QString &id);
|
||||
void removeAll();
|
||||
|
||||
Reference in New Issue
Block a user