From: Brad Beckmann Date: Thu, 29 Sep 2016 05:06:33 +0000 (-0400) Subject: mem: minor dprintf fix to abstract mem X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0971354c481c2114ffd44992c92e649a4716c30;p=gem5.git mem: minor dprintf fix to abstract mem print number of bytes written as a decimal number, not hex --- 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(), 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());