OSDN Git Service

remove dead code
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 15 Oct 2009 10:32:27 +0000 (12:32 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 20 Oct 2009 09:26:55 +0000 (11:26 +0200)
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.h

index a1a40bb..e4b5deb 100644 (file)
@@ -261,7 +261,6 @@ void GdbEngine::initializeVariables()
     m_commandsDoneCallback = 0;
     m_commandsToRunOnTemporaryBreak.clear();
     m_cookieForToken.clear();
-    m_customOutputForToken.clear();
 
     m_pendingConsoleStreamOutput.clear();
     m_pendingLogStreamOutput.clear();
@@ -557,11 +556,6 @@ void GdbEngine::handleResponse(const QByteArray &buff)
                 m_pendingLogStreamOutput);
             response.data.setStreamOutput("consolestreamoutput",
                 m_pendingConsoleStreamOutput);
-            QByteArray custom = m_customOutputForToken[token];
-            if (!custom.isEmpty())
-                response.data.setStreamOutput("customvaluecontents",
-                    '{' + custom + '}');
-            //m_customOutputForToken.remove(token);
             m_pendingLogStreamOutput.clear();
             m_pendingConsoleStreamOutput.clear();
 
@@ -892,14 +886,6 @@ void GdbEngine::handleQuerySources(const GdbResponse &response)
     }
 }
 
-void GdbEngine::handleInfoShared(const GdbResponse &response)
-{
-    if (response.resultClass == GdbResultDone) {
-        // let the modules handler do the parsing
-        handleModulesList(response);
-    }
-}
-
 #if 0
 void GdbEngine::handleExecJumpToLine(const GdbResponse &response)
 {
index 08e873b..b7bf742 100644 (file)
@@ -255,7 +255,6 @@ private slots:
     void handleAdapterShutdownFailed(const QString &msg);
 
 private:
-    int terminationIndex(const QByteArray &buffer, int &length);
     void handleResponse(const QByteArray &buff);
     void handleStopResponse(const GdbMi &data);
     void handleStop1(const GdbResponse &response);
@@ -265,7 +264,6 @@ private:
     void handleResultRecord(const GdbResponse &response);
     void handleExecContinue(const GdbResponse &response);
 //    void handleExecRunToFunction(const GdbResponse &response);
-    void handleInfoShared(const GdbResponse &response);
     void handleShowVersion(const GdbResponse &response);
     void handleQuerySources(const GdbResponse &response);
     void handleWatchPoint(const GdbResponse &response);
@@ -288,7 +286,6 @@ private:
     QByteArray m_inbuffer;
 
     QHash<int, GdbCommand> m_cookieForToken;
-    QHash<int, QByteArray> m_customOutputForToken;
 
     QByteArray m_pendingConsoleStreamOutput;
     QByteArray m_pendingLogStreamOutput;