diff options
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index f509b81c7..43d1a4edc 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -238,6 +238,7 @@ class LiveProcess : public Process std::vector<std::string> argv; std::vector<std::string> envp; std::string cwd; + std::string executable; LiveProcess(LiveProcessParams *params, ObjectFile *objFile); @@ -294,7 +295,7 @@ class LiveProcess : public Process inline uint64_t ppid() {return __ppid;} // provide program name for debug messages - virtual const char *progName() const { return argv[0].c_str(); } + virtual const char *progName() const { return executable.c_str(); } std::string fullPath(const std::string &filename) |