summaryrefslogtreecommitdiff
path: root/util/systemc/sc_gem5_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/systemc/sc_gem5_control.cc')
-rw-r--r--util/systemc/sc_gem5_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/systemc/sc_gem5_control.cc b/util/systemc/sc_gem5_control.cc
index 5dd3b1ed5..cf6e0d57c 100644
--- a/util/systemc/sc_gem5_control.cc
+++ b/util/systemc/sc_gem5_control.cc
@@ -241,7 +241,7 @@ Gem5TopLevelModule::Gem5TopLevelModule(sc_core::sc_module_name name,
Stats::initSimStats();
Stats::registerHandlers(CxxConfig::statsReset, CxxConfig::statsDump);
- Trace::enabled = true;
+ Trace::enable();
config_file = new CxxIniFile();