diff options
-rw-r--r-- | base/cprintf.cc | 16 | ||||
-rw-r--r-- | cpu/exetrace.cc | 1 |
2 files changed, 0 insertions, 17 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()) { diff --git a/cpu/exetrace.cc b/cpu/exetrace.cc index ce6b0c544..3e8877e93 100644 --- a/cpu/exetrace.cc +++ b/cpu/exetrace.cc @@ -120,7 +120,6 @@ Trace::InstRecord::dump(ostream &outs) // End of line... // outs << endl; - outs.flush(); } |