m_commandsDoneCallback = 0;
m_commandsToRunOnTemporaryBreak.clear();
m_cookieForToken.clear();
- m_customOutputForToken.clear();
m_pendingConsoleStreamOutput.clear();
m_pendingLogStreamOutput.clear();
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();
}
}
-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)
{
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);
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);
QByteArray m_inbuffer;
QHash<int, GdbCommand> m_cookieForToken;
- QHash<int, QByteArray> m_customOutputForToken;
QByteArray m_pendingConsoleStreamOutput;
QByteArray m_pendingLogStreamOutput;