summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-19 15:28:53 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-19 15:28:53 -0400
commit660ea2b1768502f6c597a4f926e93ca7dab21524 (patch)
tree0f5d9850839f28ad994061d05eb860917693375c /src/sim
parent85515c4976532e0057a56a16cd53367bb6d0bbdb (diff)
downloadgem5-660ea2b1768502f6c597a4f926e93ca7dab21524.tar.xz
Get the path to load the ini file from. I'm not sure if this fix is needed in other places as well.
src/sim/main.cc: Get the path to load the ini file from. --HG-- extra : convert_revision : aa38fc9b1bc99cd74d095cbfc67253e4549f91d3
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/main.cc b/src/sim/main.cc
index d0725ab37..4ea8c4138 100644
--- a/src/sim/main.cc
+++ b/src/sim/main.cc
@@ -215,7 +215,7 @@ loadIniFile(PyObject *_resolveFunc)
configStream = simout.find("config.out");
// The configuration database is now complete; start processing it.
- inifile.load("config.ini");
+ inifile.load(simout.resolve("config.ini"));
// Initialize statistics database
Stats::InitSimStats();