summaryrefslogtreecommitdiff
path: root/sim/serialize.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-02-11 09:48:23 -0500
committerNathan Binkert <binkertn@umich.edu>2005-02-11 09:48:23 -0500
commit10ee909fbd895b588bf01021af98e81a3ae40fc0 (patch)
tree081da4f22aaf0e48669acacf0d23a598cd536e2a /sim/serialize.cc
parent60b263466e35139ee2c773cac6c96622be990fda (diff)
parent06a4686af9b0d8e9e25e0591873d2f269bfb6d1b (diff)
downloadgem5-10ee909fbd895b588bf01021af98e81a3ae40fc0.tar.xz
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/merge --HG-- extra : convert_revision : 5d73046310a64b80a6ba3832df3b30b55532d707
Diffstat (limited to 'sim/serialize.cc')
-rw-r--r--sim/serialize.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/serialize.cc b/sim/serialize.cc
index d5f217e55..846d191e0 100644
--- a/sim/serialize.cc
+++ b/sim/serialize.cc
@@ -38,6 +38,7 @@
#include "base/inifile.hh"
#include "base/misc.hh"
+#include "base/output.hh"
#include "base/str.hh"
#include "base/trace.hh"
#include "sim/config_node.hh"
@@ -333,7 +334,7 @@ SerializeParamContext::~SerializeParamContext()
void
SerializeParamContext::checkParams()
{
- checkpointDirBase = outputDirectory + (string)serialize_dir;
+ checkpointDirBase = simout.resolve(serialize_dir);
// guarantee that directory ends with a '/'
if (checkpointDirBase[checkpointDirBase.size() - 1] != '/')