summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/base/misc.cc2
-rw-r--r--src/python/swig/core.i1
-rw-r--r--src/sim/core.cc8
-rw-r--r--src/sim/core.hh5
4 files changed, 0 insertions, 16 deletions
diff --git a/src/base/misc.cc b/src/base/misc.cc
index afb48ca80..0ab1d6041 100644
--- a/src/base/misc.cc
+++ b/src/base/misc.cc
@@ -129,6 +129,4 @@ __warn(const char *func, const char *file, int line, const char *fmt,
#endif
ccprintf(cerr, format.c_str(), args);
- if (simout.isFile(*outputStream))
- ccprintf(*outputStream, format.c_str(), args);
}
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index 3d360c017..b0773ca68 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -52,7 +52,6 @@ inline void disableAllListeners() { ListenSocket::disableAll(); }
%include "sim/host.hh"
void setOutputDir(const std::string &dir);
-void setOutputFile(const std::string &file);
void SimStartup();
void doExitCleanup();
void disableAllListeners();
diff --git a/src/sim/core.cc b/src/sim/core.cc
index 75f1f384c..8342b6740 100644
--- a/src/sim/core.cc
+++ b/src/sim/core.cc
@@ -97,14 +97,6 @@ setOutputDir(const string &dir)
simout.setDirectory(dir);
}
-ostream *outputStream;
-
-void
-setOutputFile(const string &file)
-{
- outputStream = simout.find(file);
-}
-
/**
* Queue of C++ callbacks to invoke on simulator exit.
*/
diff --git a/src/sim/core.hh b/src/sim/core.hh
index fb7f921f4..50cb2ef59 100644
--- a/src/sim/core.hh
+++ b/src/sim/core.hh
@@ -68,11 +68,6 @@ extern Tick ps;
void setClockFrequency(Tick ticksPerSecond);
-/// Output stream for simulator messages (e.g., cprintf()). Also used
-/// as default stream for tracing and DPRINTF() messages (unless
-/// overridden with trace:file option).
-extern std::ostream *outputStream;
-void setOutputFile(const std::string &file);
void setOutputDir(const std::string &dir);
struct Callback;