debugger: reset memory cache after stepping

It's better when one wants up-to-date data...
This commit is contained in:
hjk
2009-09-29 09:32:40 +02:00
parent b944e1eb14
commit 1803ee2f91
3 changed files with 11 additions and 0 deletions

View File

@@ -362,5 +362,12 @@ QString TrkResult::errorString() const
return errorMessage(data.at(0));
}
void Snapshot::reset()
{
memory.clear();
for (int i = 0; i < RegisterCount; ++i)
registers[i] = 0;
}
} // namespace trk