diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-20 22:13:33 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-20 22:13:33 -0800 |
commit | 5c99ae60b80bec0edfef0e773bae4824423d5fae (patch) | |
tree | adbc25d26f522ad539a9063d71fddd8ad9285c93 /src/sim/serialize.cc | |
parent | ddeaf1252f1c237c286950ccf7bbf80bafacf4cd (diff) | |
download | gem5-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.
Diffstat (limited to 'src/sim/serialize.cc')
-rw-r--r-- | src/sim/serialize.cc | 2 |
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); |