ruby: add useful dprints to sequencer

Added two data block dprints that are useful when tracking down data check
failures in the ruby random tester.
This commit is contained in:
Brad Beckmann 2015-07-20 09:15:18 -05:00
parent a254786a19
commit 4710eba588

View file

@ -536,9 +536,11 @@ Sequencer::hitCallback(SequencerRequest* srequest, DataBlock& data,
memcpy(pkt->getPtr<uint8_t>(),
data.getData(request_address.getOffset(), pkt->getSize()),
pkt->getSize());
DPRINTF(RubySequencer, "read data %s\n", data);
} else {
data.setData(pkt->getConstPtr<uint8_t>(),
request_address.getOffset(), pkt->getSize());
DPRINTF(RubySequencer, "set data %s\n", data);
}
}