summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-12-19 08:04:40 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-12-19 08:04:40 -0800
commit4f8acd27095240899bfd6f5abecc7549417062e9 (patch)
treef52dbbb2baac60404071baf92ae7bafda5f1e35a /base
parentd5a187dd5a38771d72e6a52bd9a6891eb76fe8f4 (diff)
downloadgem5-4f8acd27095240899bfd6f5abecc7549417062e9.tar.xz
Minor cleanup of trace/output stuff (leftover from EINTR bug fix).
base/cprintf.cc: Get rid of unnecessary stream state check. Bug is fixed now, and I'm not sure this did much anyway. cpu/exetrace.cc: Get rid of unnecessary flush() call. --HG-- extra : convert_revision : 107dcdc578b2b0ad1652ee52ea0a33b0f3cd4e39
Diffstat (limited to 'base')
-rw-r--r--base/cprintf.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/base/cprintf.cc b/base/cprintf.cc
index 945ad5b38..af3b26a57 100644
--- a/base/cprintf.cc
+++ b/base/cprintf.cc
@@ -238,22 +238,6 @@ ArgList::dump(const string &format)
}
break;
}
-
- ios::iostate state = stream->rdstate();
- if (state) {
-#if 0
- cout << "stream->rdstate() == " << state << endl;
- if (state & ios::badbit)
- cout << "stream is bad!\n";
- if (state & ios::eofbit)
- cout << "stream at eof!\n";
- if (state & ios::failbit)
- cout << "stream failed!\n";
- if (state & ios::goodbit)
- cout << "stream is good!!\n";
-#endif
- stream->clear();
- }
}
while (!objects.empty()) {