traceflags: Make "All" a valid trace flag.

This commit is contained in:
Nathan Binkert 2008-12-06 14:18:18 -08:00
parent e08c6be9fe
commit a0d322be40

View file

@ -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)