diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-03-26 21:07:32 -0700 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-03-26 21:07:32 -0700 |
commit | d8ca2d3b16d998eaf68bae0235740278aa27c5d5 (patch) | |
tree | 398c594c84f646cf90ef44e57a6cfb3541feec2a /src/base/traceflags.py | |
parent | 01ac962a06ba0a668d35218e3d97f154a11012c3 (diff) | |
download | gem5-d8ca2d3b16d998eaf68bae0235740278aa27c5d5.tar.xz |
Instead of creating a new python process to run traceflags.py,
just directly exec the file and generate the flags
--HG--
extra : convert_revision : d648ca7348404ded5337db327adafccbd2ae40c8
Diffstat (limited to 'src/base/traceflags.py')
-rw-r--r-- | src/base/traceflags.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/base/traceflags.py b/src/base/traceflags.py index e57bfa350..6b241c410 100644 --- a/src/base/traceflags.py +++ b/src/base/traceflags.py @@ -350,16 +350,3 @@ const char *Trace::flagStrings[] = print >>ccfile, '};' ccfile.close() - -if __name__ == '__main__': - # This file generates the header and source files for the flags - # that control the tracing facility. - - import sys - - if len(sys.argv) != 2: - print "%s: Need argument (basename of cc/hh files)" % sys.argv[0] - sys.exit(1) - - gen_hh(sys.argv[1] + '.hh') - gen_cc(sys.argv[1] + '.cc') |