Commit f15660cb authored by dt's avatar dt
Browse files

Merge branch '1.1' of git@scm.dev.nokia.troll.no:creator/mainline into 1.1

parents 1e0561e8 e61fa399
......@@ -163,6 +163,20 @@ static int &currentToken()
return token;
}
static bool isSkippable(int type)
{
return type == RegisterListValues
&& type == StackListThreads
&& type == StackListFrames
&& type == StackListLocals
&& type == StackListArguments
&& type == WatchVarAssign
&& type == WatchVarListChildren
&& type == WatchVarCreate
&& type == WatchEvaluateExpression
&& type == WatchToolTip;
}
///////////////////////////////////////////////////////////////////////
//
// GdbEngine
......@@ -680,7 +694,7 @@ void GdbEngine::handleResultRecord(const GdbResultRecord &record)
GdbCookie cmd = m_cookieForToken.take(token);
if (record.token < m_oldestAcceptableToken) {
if (record.token < m_oldestAcceptableToken && isSkippable(cmd.type)) {
//qDebug() << "### SKIPPING OLD RESULT " << record.toString();
//QMessageBox::information(m_mainWindow, tr("Skipped"), "xxx");
return;
......
Markdown is supported
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