summaryrefslogtreecommitdiff
path: root/python/m5
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-10-01 16:02:47 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-10-01 16:02:47 -0400
commit93e60de65647f3324e59b291c35ef2cf3a0fb9a0 (patch)
tree6c4f77185a157d91487c9ca46c4e77ace17a7b5a /python/m5
parent30ad202a31c99198b5ecf3c30dbd6e594a464dbf (diff)
downloadgem5-93e60de65647f3324e59b291c35ef2cf3a0fb9a0.tar.xz
Add executable parameter to LiveProcess. This allows the argv[0] value to
stay fixed even if the path to the binary changes, so the simulation results are independent of that path. --HG-- extra : convert_revision : d1109cd284466c14eddc97289908a51e771fc5db
Diffstat (limited to 'python/m5')
-rw-r--r--python/m5/objects/Process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/m5/objects/Process.py b/python/m5/objects/Process.py
index 17a66c6d9..b4ccc1bec 100644
--- a/python/m5/objects/Process.py
+++ b/python/m5/objects/Process.py
@@ -6,6 +6,7 @@ class Process(SimObject):
class LiveProcess(Process):
type = 'LiveProcess'
+ executable = Param.String('', "executable (overrides cmd[0] if set)")
cmd = VectorParam.String("command line (executable plus arguments)")
env = VectorParam.String('', "environment settings")
input = Param.String('cin', "filename for stdin")