summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/system.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index fe5be23dc..c0b9486f4 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -418,12 +418,16 @@ System::workItemEnd(uint32_t tid, uint32_t workid)
void
System::printSystems()
{
+ ios::fmtflags flags(cerr.flags());
+
vector<System *>::iterator i = systemList.begin();
vector<System *>::iterator end = systemList.end();
for (; i != end; ++i) {
System *sys = *i;
cerr << "System " << sys->name() << ": " << hex << sys << endl;
}
+
+ cerr.flags(flags);
}
void