changeset fab5e4523380 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=fab5e4523380
description:
        mem: minor dprintf fix to abstract mem

        print number of bytes written as a decimal number, not hex

diffstat:

 src/mem/abstract_mem.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2c111e634da0 -r fab5e4523380 src/mem/abstract_mem.cc
--- a/src/mem/abstract_mem.cc   Thu Sep 22 14:46:37 2016 +0100
+++ b/src/mem/abstract_mem.cc   Thu Sep 29 01:06:33 2016 -0400
@@ -406,7 +406,7 @@
         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());
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to