projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6ea04
)
Trace: FIx issue with creation of trace file with output dir overhaul.
author
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 2 Dec 2011 01:36:22 +0000
(17:36 -0800)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 2 Dec 2011 01:36:22 +0000
(17:36 -0800)
--HG--
extra : rebase_source :
c1ab57ea8805703d97cdee4f32410821a2d2a9db
src/base/trace.cc
patch
|
blob
|
history
diff --git
a/src/base/trace.cc
b/src/base/trace.cc
index 1a035d400575715d3b9c00dc18581aefc5c04014..fa55e42a9008fe4a62a77a648f59dff0ab529c23 100644
(file)
--- a/
src/base/trace.cc
+++ b/
src/base/trace.cc
@@
-64,6
+64,8
@@
void
setOutput(const string &filename)
{
dprintf_stream = simout.find(filename);
+ if (!dprintf_stream)
+ dprintf_stream = simout.create(filename);
}
ObjectMatch ignore;