summaryrefslogtreecommitdiff
path: root/cpu/simple/cpu.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-04-14 11:59:18 -0400
committerKevin Lim <ktlim@umich.edu>2006-04-14 11:59:18 -0400
commit20228000058fce5bae65fca6552c8021b82ab7de (patch)
tree6471bc3f8591ff83723c4a1a8f3a1491e300d149 /cpu/simple/cpu.cc
parent48f2626eaca40d4cf0b692f2ac8ec07eb5586516 (diff)
downloadgem5-20228000058fce5bae65fca6552c8021b82ab7de.tar.xz
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
Diffstat (limited to 'cpu/simple/cpu.cc')
-rw-r--r--cpu/simple/cpu.cc2
1 files changed, 1 insertions, 1 deletions
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.