Debugger: Simplify watcher handling in GdbEngine

There was only one user on GdbEngine::insertData left, and this
always took the !isSomethingNeeded branch.

Change-Id: Ibe51f7a7689be39ad3ffd60099a9cbe7b614648a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-03-05 18:17:00 +01:00
parent 36fe342853
commit 74f7cd1c26
3 changed files with 9 additions and 39 deletions

View File

@@ -403,8 +403,6 @@ protected:
void rebuildWatchModel();
void showToolTip();
void insertData(const WatchData &data);
void handleVarAssign(const DebuggerResponse &response);
void handleDetach(const DebuggerResponse &response);
void handleThreadGroupCreated(const GdbMi &result);
@@ -474,10 +472,6 @@ protected:
bool m_fullStartDone;
bool m_systemDumpersLoaded;
// Test
QList<WatchData> m_completed;
QSet<QByteArray> m_uncompleted;
static QString msgGdbStopFailed(const QString &why);
static QString msgInferiorStopFailed(const QString &why);
static QString msgAttachedToStoppedInferior();