forked from qt-creator/qt-creator
		
	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:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user