From: Kevin Lim Date: Fri, 14 Apr 2006 15:59:18 +0000 (-0400) Subject: Quick fix for the CPU not printing out the right address upon re-execution of a load... X-Git-Tag: m5_2.0_beta1~116 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20228000058fce5bae65fca6552c8021b82ab7de;p=gem5.git Quick fix for the CPU not printing out the right address upon re-execution of a load that missed in the cache. Split mem ops will solve this problem in the future. --HG-- extra : convert_revision : 5bb921998aa0408d568030ef544b9905c4038bb2 --- diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index 6cef59796..85a38f99c 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -478,7 +478,7 @@ SimpleCPU::read(Addr addr, T &data, unsigned flags) } if (traceData) { - traceData->setAddr(addr); + traceData->setAddr(data_read_req->getVaddr()); } // @todo: Figure out a way to create a Fault from the packet result.