summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-12-06 14:18:18 -0800
committerNathan Binkert <nate@binkert.org>2008-12-06 14:18:18 -0800
commita0d322be4021891ee21edb4424e4af1957a50d0a (patch)
treee2cd99f2f4e721cefb50a6021dbaa897ffbd942d /src/python/m5
parente08c6be9feb5d381ca45afc581cf6efb090f0dd7 (diff)
downloadgem5-a0d322be4021891ee21edb4424e4af1957a50d0a.tar.xz
traceflags: Make "All" a valid trace flag.
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index e1403203d..d34cca357 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -310,7 +310,7 @@ def main():
if flag.startswith('-'):
flag = flag[1:]
off = True
- if flag not in traceflags.allFlags:
+ if flag not in traceflags.allFlags and flag != "All":
print >>sys.stderr, "invalid trace flag '%s'" % flag
sys.exit(1)