projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f2626
)
Quick fix for the CPU not printing out the right address upon re-execution of a load...
author
Kevin Lim
<ktlim@umich.edu>
Fri, 14 Apr 2006 15:59:18 +0000
(11:59 -0400)
committer
Kevin Lim
<ktlim@umich.edu>
Fri, 14 Apr 2006 15:59:18 +0000
(11:59 -0400)
Split mem ops will solve this problem in the future.
--HG--
extra : convert_revision :
5bb921998aa0408d568030ef544b9905c4038bb2
cpu/simple/cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/simple/cpu.cc
b/cpu/simple/cpu.cc
index 6cef59796f2dced9a103b3f1ccccb3a7377960a8..85a38f99cd90941004e4d3863f3e86196cea91ef 100644
(file)
--- 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.