debugger: don't remove corefiles that we did not create.

This commit is contained in:
hjk
2010-09-07 14:19:44 +02:00
parent a364b93577
commit 98e37b3b15
4 changed files with 8 additions and 5 deletions

View File

@@ -3022,6 +3022,7 @@ void GdbEngine::handleMakeSnapshot(const GdbResponse &response)
function = frame.function + _(":") + QString::number(frame.line);
}
sp.displayName = function + _(": ") + QDateTime::currentDateTime().toString();
sp.isSnapshot = true;
DebuggerRunControl *rc = DebuggerPlugin::createDebugger(sp);
DebuggerPlugin::startDebugger(rc);
} else {