Fix tracing so it starts right away if --trace-start is not
authorNathan Binkert <binkertn@umich.edu>
Wed, 21 Feb 2007 22:08:13 +0000 (14:08 -0800)
committerNathan Binkert <binkertn@umich.edu>
Wed, 21 Feb 2007 22:08:13 +0000 (14:08 -0800)
specified.

--HG--
extra : convert_revision : 49c1ea0b8c313949124aed84b1055db0b3c55bd8

src/python/m5/main.py

index 48c75434feef7373597eef69e2299984dccbed4c..37df884d0515eec8eda5ce2d802e464d93005f40 100644 (file)
@@ -297,7 +297,7 @@ def main():
             internal.trace.cvar.enabled = True
         internal.event.create(enable_trace, int(options.trace_start))
     else:
-        internal.trace.enabled = True
+        internal.trace.cvar.enabled = True
 
     internal.trace.output(options.trace_file)