forked from qt-creator/qt-creator
remove dead code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user