process: add progName() virtual function
authorSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:55:34 +0000 (16:55 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:55:34 +0000 (16:55 -0700)
commit73ef8bd168795855cd23e56dd6739dfa23a77eb8
treedfe826d6863ba57fbb5b05beba8e1db210f48efc
parente232152db6d9cd511a75c41f47b00befe9b7719e
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/cpu/inorder/cpu.cc
src/sim/process.cc
src/sim/process.hh