From 20228000058fce5bae65fca6552c8021b82ab7de Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Fri, 14 Apr 2006 11:59:18 -0400 Subject: [PATCH] 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 --- cpu/simple/cpu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2