summaryrefslogtreecommitdiff
path: root/dev/console.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-11-04 17:43:41 -0500
committerNathan Binkert <binkertn@umich.edu>2003-11-04 17:43:41 -0500
commit247984bc22442c5871bc2f19285bccc730dcd578 (patch)
tree0db8e022406c1983bf5ad10d4387923b94010e3c /dev/console.hh
parenta7635fa6ef488b8e44b127c40ab2a6818620145e (diff)
downloadgem5-247984bc22442c5871bc2f19285bccc730dcd578.tar.xz
A little bit of code here and there to get more access to
what the console output is. base/circlebuf.hh: base/circlebuf.cc: add stuff to spit to an ostream prepend _ in front of protected member variables formatting dev/console.hh: dev/console.cc: Add DPRINTF to spit out the lines of console data dev/console.cc: little hack to append name() to the file so that we can easily get multiple output files. dev/console.hh: TRACING_ON == 1 not defined(TRACING_ON) --HG-- extra : convert_revision : bbe80715fb97ee4c4ed6b484955ef71289f09fc9
Diffstat (limited to 'dev/console.hh')
-rw-r--r--dev/console.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/console.hh b/dev/console.hh
index fd02e7a9a..f443afe4f 100644
--- a/dev/console.hh
+++ b/dev/console.hh
@@ -74,6 +74,9 @@ class SimConsole : public SimObject
CircleBuf txbuf;
CircleBuf rxbuf;
std::ostream *outfile;
+#if TRACING_ON == 1
+ CircleBuf linebuf;
+#endif
public:
///////////////////////