From 93e60de65647f3324e59b291c35ef2cf3a0fb9a0 Mon Sep 17 00:00:00 2001
From: Steve Reinhardt <stever@eecs.umich.edu>
Date: Sat, 1 Oct 2005 16:02:47 -0400
Subject: 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
---
 python/m5/objects/Process.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'python')

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")
-- 
cgit v1.2.3