debugger: move SnapshotHandler from DebuggerManager to DebuggerRunControl

This commit is contained in:
hjk
2010-06-15 12:15:25 +02:00
parent 7332f1e016
commit 25c11c4ce0
9 changed files with 74 additions and 69 deletions

View File

@@ -3019,7 +3019,7 @@ void GdbEngine::handleMakeSnapshot(const GdbResponse &response)
void GdbEngine::activateSnapshot(int index)
{
QTC_ASSERT(runControl(), return);
SnapshotData snapshot = m_manager->snapshotHandler()->setCurrentIndex(index);
SnapshotData snapshot = snapshotHandler()->setCurrentIndex(index);
DebuggerStartParameters &sp = const_cast<DebuggerStartParameters &>(runControl()->sp());
sp.startMode = AttachCore;
@@ -3574,7 +3574,7 @@ WatchData GdbEngine::localVariable(const GdbMi &item,
}
}
if (!m_manager->watchHandler()->isExpandedIName(data.iname))
if (!watchHandler()->isExpandedIName(data.iname))
data.setChildrenUnneeded();
GdbMi t = item.findChild("numchild");