remove dead code

This commit is contained in:
Oswald Buddenhagen
2009-10-15 12:32:27 +02:00
parent 13675cf6ed
commit 0e398303cc
2 changed files with 0 additions and 17 deletions

View File

@@ -261,7 +261,6 @@ void GdbEngine::initializeVariables()
m_commandsDoneCallback = 0; m_commandsDoneCallback = 0;
m_commandsToRunOnTemporaryBreak.clear(); m_commandsToRunOnTemporaryBreak.clear();
m_cookieForToken.clear(); m_cookieForToken.clear();
m_customOutputForToken.clear();
m_pendingConsoleStreamOutput.clear(); m_pendingConsoleStreamOutput.clear();
m_pendingLogStreamOutput.clear(); m_pendingLogStreamOutput.clear();
@@ -557,11 +556,6 @@ void GdbEngine::handleResponse(const QByteArray &buff)
m_pendingLogStreamOutput); m_pendingLogStreamOutput);
response.data.setStreamOutput("consolestreamoutput", response.data.setStreamOutput("consolestreamoutput",
m_pendingConsoleStreamOutput); m_pendingConsoleStreamOutput);
QByteArray custom = m_customOutputForToken[token];
if (!custom.isEmpty())
response.data.setStreamOutput("customvaluecontents",
'{' + custom + '}');
//m_customOutputForToken.remove(token);
m_pendingLogStreamOutput.clear(); m_pendingLogStreamOutput.clear();
m_pendingConsoleStreamOutput.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 #if 0
void GdbEngine::handleExecJumpToLine(const GdbResponse &response) void GdbEngine::handleExecJumpToLine(const GdbResponse &response)
{ {

View File

@@ -255,7 +255,6 @@ private slots:
void handleAdapterShutdownFailed(const QString &msg); void handleAdapterShutdownFailed(const QString &msg);
private: private:
int terminationIndex(const QByteArray &buffer, int &length);
void handleResponse(const QByteArray &buff); void handleResponse(const QByteArray &buff);
void handleStopResponse(const GdbMi &data); void handleStopResponse(const GdbMi &data);
void handleStop1(const GdbResponse &response); void handleStop1(const GdbResponse &response);
@@ -265,7 +264,6 @@ private:
void handleResultRecord(const GdbResponse &response); void handleResultRecord(const GdbResponse &response);
void handleExecContinue(const GdbResponse &response); void handleExecContinue(const GdbResponse &response);
// void handleExecRunToFunction(const GdbResponse &response); // void handleExecRunToFunction(const GdbResponse &response);
void handleInfoShared(const GdbResponse &response);
void handleShowVersion(const GdbResponse &response); void handleShowVersion(const GdbResponse &response);
void handleQuerySources(const GdbResponse &response); void handleQuerySources(const GdbResponse &response);
void handleWatchPoint(const GdbResponse &response); void handleWatchPoint(const GdbResponse &response);
@@ -288,7 +286,6 @@ private:
QByteArray m_inbuffer; QByteArray m_inbuffer;
QHash<int, GdbCommand> m_cookieForToken; QHash<int, GdbCommand> m_cookieForToken;
QHash<int, QByteArray> m_customOutputForToken;
QByteArray m_pendingConsoleStreamOutput; QByteArray m_pendingConsoleStreamOutput;
QByteArray m_pendingLogStreamOutput; QByteArray m_pendingLogStreamOutput;