Get rid of outputStream... wasn't really being used
(except for warn()) and new -r/-e options make it not worth fixing.
This commit is contained in:
parent
ab6e522032
commit
58c63ea8b1
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue