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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user