summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-01-20 22:13:33 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-01-20 22:13:33 -0800
commit5c99ae60b80bec0edfef0e773bae4824423d5fae (patch)
treeadbc25d26f522ad539a9063d71fddd8ad9285c93
parentddeaf1252f1c237c286950ccf7bbf80bafacf4cd (diff)
downloadgem5-5c99ae60b80bec0edfef0e773bae4824423d5fae.tar.xz
checkpointing: fix bug from curTick accessor conversion.
Regex replacement of curTick with curTick() accidentally changed checkpoint key string for serialization but not for unserialization.
-rw-r--r--src/sim/serialize.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc
index b050027e2..d28f335be 100644
--- a/src/sim/serialize.cc
+++ b/src/sim/serialize.cc
@@ -400,7 +400,7 @@ void
Globals::serialize(ostream &os)
{
nameOut(os);
- SERIALIZE_SCALAR(curTick());
+ paramOut(os, "curTick", curTick());
nameOut(os, "MainEventQueue");
mainEventQueue.serialize(os);