From: Nathan Binkert Date: Wed, 21 Feb 2007 22:08:13 +0000 (-0800) Subject: Fix tracing so it starts right away if --trace-start is not X-Git-Tag: m5_2.0_beta3~177^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a67f2b08cb2d478c3b425d778a75bb2ce46a813;p=gem5.git Fix tracing so it starts right away if --trace-start is not specified. --HG-- extra : convert_revision : 49c1ea0b8c313949124aed84b1055db0b3c55bd8 --- diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 48c75434f..37df884d0 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -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)