diff options
author | Nathan Binkert <binkertn@umich.edu> | 2006-07-12 15:19:08 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2006-07-12 15:19:08 -0400 |
commit | 10a8769d6d0815d41fb852a3ce75e7d9b1c837cc (patch) | |
tree | bcb0014d8307f0fab61aaf7e4a568fbc1e1db5ce /src/python | |
parent | f7216daee06189ec3f432dcce6de27b5b4380880 (diff) | |
parent | 3218538740a6132273875f84ce0cb95a2c79a62d (diff) | |
download | gem5-10a8769d6d0815d41fb852a3ce75e7d9b1c837cc.tar.xz |
Merge m5.eecs.umich.edu:/bk/newmem
into iceaxe.:/Volumes/work/research/m5/current
--HG--
extra : convert_revision : 842a23da034c40c75364b76ca75de076da776ac6
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 904b241ca..80dbcb5aa 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -283,9 +283,10 @@ def main(): objects.ExecutionTrace.print_fetchseq = options.print_fetch_seq objects.ExecutionTrace.print_cpseq = options.print_cpseq - scope = { '__file__' : sys.argv[0] } sys.argv = arguments sys.path = [ os.path.dirname(sys.argv[0]) ] + sys.path + + scope = { '__file__' : sys.argv[0] } exec("import readline", scope) execfile(sys.argv[0], scope) |