projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af2e59
)
Object print bug fix
author
Polina Dudnik
<pdudnik@gmail.com>
Fri, 11 Sep 2009 15:59:08 +0000
(10:59 -0500)
committer
Polina Dudnik
<pdudnik@gmail.com>
Fri, 11 Sep 2009 15:59:08 +0000
(10:59 -0500)
src/mem/ruby/common/DataBlock.hh
patch
|
blob
|
history
diff --git
a/src/mem/ruby/common/DataBlock.hh
b/src/mem/ruby/common/DataBlock.hh
index ccd73c36bd3ac4729d86adf8151a31f82f843771..3c8ef56f455784fe762154efe0249f24aeea5330 100644
(file)
--- 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;
}