summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-08-04 01:45:12 -0400
committerSteve Reinhardt <stever@gmail.com>2008-08-04 01:45:12 -0400
commit58c63ea8b1f56dd0c33ef3d36f5c6a58ce3f28fe (patch)
tree10c846958f4ab2265b33d82d35145512341ef8a5 /src/sim
parentab6e522032a752402af6be6f06862faee00a3018 (diff)
downloadgem5-58c63ea8b1f56dd0c33ef3d36f5c6a58ce3f28fe.tar.xz
Get rid of outputStream... wasn't really being used
(except for warn()) and new -r/-e options make it not worth fixing.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/core.cc8
-rw-r--r--src/sim/core.hh5
2 files changed, 0 insertions, 13 deletions
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;