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