I'll just throw in a plug for Nate's cprintf() library here... it doesn't have these issues.
Steve On Fri, Sep 11, 2009 at 8:58 AM, <[email protected]> wrote: > changeset 5437a0eeb822 in /z/repo/m5 > details: http://repo.m5sim.org/m5?cmd=changeset;node=5437a0eeb822 > description: > Object print bug fix > > diffstat: > > 1 file changed, 1 insertion(+) > src/mem/ruby/common/DataBlock.hh | 1 + > > diffs (11 lines): > > diff -r 17e885fd7246 -r 5437a0eeb822 src/mem/ruby/common/DataBlock.hh > --- a/src/mem/ruby/common/DataBlock.hh Fri Sep 11 10:58:37 2009 -0500 > +++ b/src/mem/ruby/common/DataBlock.hh Fri Sep 11 10:59:08 2009 -0500 > @@ -110,6 +110,7 @@ > out << "[ "; > for (int i = 0; i < size; i++) { > out << setw(2) << setfill('0') << hex << "0x" << (int)m_data[i] << " "; > + out << setfill(' '); > } > out << dec << "]" << flush; > } > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
