summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-10-09 11:00:31 -0400
committerKevin Lim <ktlim@umich.edu>2006-10-09 11:00:31 -0400
commit6a2d6c0f83074fd5b18b868822629de5e408cb97 (patch)
tree8203f11c6db47641fe0f3a6f623a65b34ea356d9
parent4167c3c026424530bc9fe28ecdf0c2212bea9b9e (diff)
downloadgem5-6a2d6c0f83074fd5b18b868822629de5e408cb97.tar.xz
Fix checker bug.
src/cpu/checker/thread_context.hh: Checker's TC should only copy state, and not fully take over from the old context (prevents it from accidentally stealing the quiesce event). --HG-- extra : convert_revision : 5760f9c5bae749f8d1df35e4c898df13e41b0224
-rw-r--r--src/cpu/checker/thread_context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh
index 8c0186dae..b2806d40b 100644
--- a/src/cpu/checker/thread_context.hh
+++ b/src/cpu/checker/thread_context.hh
@@ -133,7 +133,7 @@ class CheckerThreadContext : public ThreadContext
void takeOverFrom(ThreadContext *oldContext)
{
actualTC->takeOverFrom(oldContext);
- checkerTC->takeOverFrom(oldContext);
+ checkerTC->copyState(oldContext);
}
void regStats(const std::string &name) { actualTC->regStats(name); }