Revert "gem5: The serializeAll(path) method don't have to be invoked on the root object."

This reverts commit 60735f254e.
This commit is contained in:
Richard Hellwig
2013-05-22 17:38:39 +02:00
parent a2a113c54d
commit dd81913f2c

View File

@ -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;
}