ruby: added data print to ruby request
This commit is contained in:
parent
66279fac3f
commit
47502163b7
1 changed files with 5 additions and 1 deletions
|
@ -65,7 +65,11 @@ ostream& operator<<(ostream& out, const RubyRequestType& obj)
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue