summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-09-11 10:59:08 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-09-11 10:59:08 -0500
commit353a69eae76f27820a1b0245e06ea6539f80caf2 (patch)
treefa89eceeaaa8d7f5ed1e5214c6a6b090b0fc322f /src/mem
parent2af2e590e1e87226c0f5c6b763dbb4225fece2e4 (diff)
downloadgem5-353a69eae76f27820a1b0245e06ea6539f80caf2.tar.xz
Object print bug fix
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/common/DataBlock.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/common/DataBlock.hh b/src/mem/ruby/common/DataBlock.hh
index ccd73c36b..3c8ef56f4 100644
--- a/src/mem/ruby/common/DataBlock.hh
+++ b/src/mem/ruby/common/DataBlock.hh
@@ -110,6 +110,7 @@ void DataBlock::print(ostream& out) const
out << "[ ";
for (int i = 0; i < size; i++) {
out << setw(2) << setfill('0') << hex << "0x" << (int)m_data[i] << " ";
+ out << setfill(' ');
}
out << dec << "]" << flush;
}