remove some unused code

This commit is contained in:
hjk
2008-12-03 15:34:28 +01:00
parent a22ffb1cb4
commit 4ad0b96616

View File

@@ -110,7 +110,6 @@ enum GdbCommandType
GdbFileExecAndSymbols,
GdbQueryPwd,
GdbQuerySources,
GdbQuerySources2,
GdbAsyncOutput2,
GdbExecRun,
GdbExecRunToFunction,
@@ -849,9 +848,6 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type,
case GdbQuerySources:
handleQuerySources(record);
break;
case GdbQuerySources2:
handleQuerySources2(record, cookie);
break;
case GdbAsyncOutput2:
handleAsyncOutput2(cookie.value<GdbMi>());
break;
@@ -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)
{
// FIXME: remove this special case as soon as 'jump'