summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-09-04 17:14:07 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2006-09-04 17:14:07 -0700
commitc39aea440c884f0abb29ecc2293fd6df608bc00c (patch)
tree21642bd3db3f2e10989cb6c5cf34892b9efe6267 /src/sim
parent1233dbb9981ad27abeb22f9dcba20bd77abab041 (diff)
downloadgem5-c39aea440c884f0abb29ecc2293fd6df608bc00c.tar.xz
More Python hacking to deal with config.py split
and resulting recursive import trickiness. --HG-- extra : convert_revision : 1ea93861eb8d260c9f3920dda0b8106db3e03705
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/main.cc b/src/sim/main.cc
index 4ea8c4138..5725897f8 100644
--- a/src/sim/main.cc
+++ b/src/sim/main.cc
@@ -151,8 +151,8 @@ main(int argc, char **argv)
// initialize SWIG 'cc_main' module
init_cc_main();
- PyRun_SimpleString("import m5");
- PyRun_SimpleString("m5.main()");
+ PyRun_SimpleString("import m5.main");
+ PyRun_SimpleString("m5.main.main()");
// clean up Python intepreter.
Py_Finalize();