From dd81913f2c6c70a40e099fbdd622b7856d81fe18 Mon Sep 17 00:00:00 2001 From: Richard Hellwig Date: Wed, 22 May 2013 17:38:39 +0200 Subject: [PATCH] Revert "gem5: The serializeAll(path) method don't have to be invoked on the root object." This reverts commit 60735f254ecf3afdc779c48eaf6f2307fe1a2829. --- src/core/sal/gem5/Gem5Controller.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/sal/gem5/Gem5Controller.cc b/src/core/sal/gem5/Gem5Controller.cc index 67b64265..b00a8d99 100644 --- a/src/core/sal/gem5/Gem5Controller.cc +++ b/src/core/sal/gem5/Gem5Controller.cc @@ -41,7 +41,8 @@ void Gem5Controller::save(const std::string &path) { DPRINTF(FailState, "Saving state to %s.\n", path); - Serializable::serializeAll(path); + Root* root = Root::root(); + root->Serializable::serializeAll(path); return true; }