Commit 4ad0b966 authored by hjk's avatar hjk
Browse files

remove some unused code

parent a22ffb1c
...@@ -110,7 +110,6 @@ enum GdbCommandType ...@@ -110,7 +110,6 @@ enum GdbCommandType
GdbFileExecAndSymbols, GdbFileExecAndSymbols,
GdbQueryPwd, GdbQueryPwd,
GdbQuerySources, GdbQuerySources,
GdbQuerySources2,
GdbAsyncOutput2, GdbAsyncOutput2,
GdbExecRun, GdbExecRun,
GdbExecRunToFunction, GdbExecRunToFunction,
...@@ -849,9 +848,6 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type, ...@@ -849,9 +848,6 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type,
case GdbQuerySources: case GdbQuerySources:
handleQuerySources(record); handleQuerySources(record);
break; break;
case GdbQuerySources2:
handleQuerySources2(record, cookie);
break;
case GdbAsyncOutput2: case GdbAsyncOutput2:
handleAsyncOutput2(cookie.value<GdbMi>()); handleAsyncOutput2(cookie.value<GdbMi>());
break; break;
...@@ -1063,13 +1059,6 @@ void GdbEngine::handleInfoShared(const GdbResultRecord &record) ...@@ -1063,13 +1059,6 @@ void GdbEngine::handleInfoShared(const GdbResultRecord &record)
} }
} }
void GdbEngine::handleQuerySources2(const GdbResultRecord &record,
const QVariant &cookie)
{
if (record.resultClass == GdbResultDone)
handleAsyncOutput2(cookie.value<GdbMi>());
}
void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record) void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
{ {
// FIXME: remove this special case as soon as 'jump' // FIXME: remove this special case as soon as 'jump'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment