forked from qt-creator/qt-creator
Debugger: Remove debuggerstringutils.h
With QT_RESTRICTED_CAST_FROM_ASCII making GdbMi etc operate on QString is feasible again. Take this as opportunity to move debugger encoding handling closer to a 'conversion on input and output if needed, storage in QString only' scheme. Change-Id: I2f10c9fa8a6c62c44f4e6682efe3769e9fba30f7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
ThreadId currentThread() const;
|
||||
ThreadId threadAt(int index) const;
|
||||
void setCurrentThread(ThreadId id);
|
||||
QByteArray pidForGroupId(const QByteArray &groupId) const;
|
||||
QString pidForGroupId(const QString &groupId) const;
|
||||
|
||||
void updateThread(const ThreadData &threadData);
|
||||
void updateThreads(const GdbMi &data);
|
||||
@@ -63,15 +63,15 @@ public:
|
||||
ThreadData thread(ThreadId id) const;
|
||||
QAbstractItemModel *model();
|
||||
|
||||
void notifyGroupCreated(const QByteArray &groupId, const QByteArray &pid);
|
||||
bool notifyGroupExited(const QByteArray &groupId); // Returns true when empty.
|
||||
void notifyGroupCreated(const QString &groupId, const QString &pid);
|
||||
bool notifyGroupExited(const QString &groupId); // Returns true when empty.
|
||||
|
||||
// Clear out all frame information
|
||||
void notifyRunning(const QByteArray &data);
|
||||
void notifyRunning(const QString &data);
|
||||
void notifyRunning(ThreadId threadId);
|
||||
void notifyAllRunning();
|
||||
|
||||
void notifyStopped(const QByteArray &data);
|
||||
void notifyStopped(const QString &data);
|
||||
void notifyStopped(ThreadId threadId);
|
||||
void notifyAllStopped();
|
||||
|
||||
@@ -85,7 +85,7 @@ private:
|
||||
|
||||
ThreadId m_currentId;
|
||||
bool m_resetLocationScheduled;
|
||||
QHash<QByteArray, QByteArray> m_pidForGroupId;
|
||||
QHash<QString, QString> m_pidForGroupId;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user