diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-01-30 16:01:26 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-01-30 16:01:26 -0500 |
commit | 4ae64216c3c27e9f1e35ce93114f932f3d2c3361 (patch) | |
tree | fe3ca24667628af7c2e5a94a3bcae585fb492855 /base/trace.cc | |
parent | a0c3e61d320e72bbdddf4cea1413f6638e0faf45 (diff) | |
parent | 2f4f7aacf77dea16795a4052613da6092f6efc31 (diff) | |
download | gem5-4ae64216c3c27e9f1e35ce93114f932f3d2c3361.tar.xz |
Merge
--HG--
extra : convert_revision : 8690e31b64235874d74ea4a1123a408610fb115b
Diffstat (limited to 'base/trace.cc')
-rw-r--r-- | base/trace.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/base/trace.cc b/base/trace.cc index 99e97e7ea..156110376 100644 --- a/base/trace.cc +++ b/base/trace.cc @@ -49,7 +49,7 @@ FlagVec flags(NumFlags, false); // directly; use DebugOut() (see below) to access this stream for // output. // -ostream *dprintf_stream = NULL; +ostream *dprintf_stream = &cerr; int dprintf_ignore_size; vector<string> dprintf_ignore; @@ -267,10 +267,7 @@ RawDataRecord::dump(ostream &os) std::ostream & DebugOut() { - if (Trace::dprintf_stream) - return *Trace::dprintf_stream; - else - return cerr; + return *Trace::dprintf_stream; } ///////////////////////////////////////////// |