changeset a375402313df in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=a375402313df
description:
        ruby: added data print to ruby request

diffstat:

1 file changed, 5 insertions(+), 1 deletion(-)
src/mem/ruby/libruby.cc |    6 +++++-

diffs (16 lines):

diff -r 5d01c182d6a7 -r a375402313df src/mem/ruby/libruby.cc
--- a/src/mem/ruby/libruby.cc   Fri Jan 29 20:29:23 2010 -0800
+++ b/src/mem/ruby/libruby.cc   Fri Jan 29 20:29:23 2010 -0800
@@ -65,7 +65,11 @@
 
 ostream& operator<<(std::ostream& out, const RubyRequest& obj)
 {
-  out << hex << "0x" << obj.paddr << flush;
+  out << hex << "0x" << obj.paddr << " data: 0x" << flush;
+  for (int i = 0; i < obj.len; i++) {
+    out << (int)obj.data[i];
+  }
+  out << dec << " type: " << RubyRequestType_to_string(obj.type) << endl;
   return out;
 }
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to