From 73ef8bd168795855cd23e56dd6739dfa23a77eb8 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 6 Aug 2012 16:55:34 -0700 Subject: process: add progName() virtual function This replaces a (potentially uninitialized) string field with a virtual function so that we can have a safe interface without requiring changes to the eio code. --- src/sim/process.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sim/process.cc') diff --git a/src/sim/process.cc b/src/sim/process.cc index 72b808a1d..f92fb91e2 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -571,8 +571,6 @@ LiveProcess::LiveProcess(LiveProcessParams * params, ObjectFile *_objFile) __pid = params->pid; __ppid = params->ppid; - prog_fname = params->cmd[0]; - // load up symbols, if any... these may be used for debugging or // profiling. if (!debugSymbolTable) { -- cgit v1.2.3