diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2016-09-29 01:06:33 -0400 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2016-09-29 01:06:33 -0400 |
commit | f0971354c481c2114ffd44992c92e649a4716c30 (patch) | |
tree | 680151550d2e001587876c51aa6252857786b59f /src | |
parent | 109cc2caa6fbdfe6231336e56b9ae2158a13804f (diff) | |
download | gem5-f0971354c481c2114ffd44992c92e649a4716c30.tar.xz |
mem: minor dprintf fix to abstract mem
print number of bytes written as a decimal number, not hex
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/abstract_mem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/abstract_mem.cc b/src/mem/abstract_mem.cc index 1797deae8..75c5b559b 100644 --- a/src/mem/abstract_mem.cc +++ b/src/mem/abstract_mem.cc @@ -406,7 +406,7 @@ AbstractMemory::access(PacketPtr pkt) if (writeOK(pkt)) { if (pmemAddr) { memcpy(hostAddr, pkt->getConstPtr<uint8_t>(), pkt->getSize()); - DPRINTF(MemoryAccess, "%s wrote %x bytes to address %x\n", + DPRINTF(MemoryAccess, "%s wrote %i bytes to address %x\n", __func__, pkt->getSize(), pkt->getAddr()); } assert(!pkt->req->isInstFetch()); |