diff --git a/src/core/sal/gem5/Gem5Controller.cc b/src/core/sal/gem5/Gem5Controller.cc index b00a8d99..67b64265 100644 --- a/src/core/sal/gem5/Gem5Controller.cc +++ b/src/core/sal/gem5/Gem5Controller.cc @@ -41,8 +41,7 @@ void Gem5Controller::save(const std::string &path) { DPRINTF(FailState, "Saving state to %s.\n", path); - Root* root = Root::root(); - root->Serializable::serializeAll(path); + Serializable::serializeAll(path); return true; }