projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change the cpu pointer in the InstRecord object to a thread context pointer.
[gem5.git]
/
src
/
cpu
/
simple_thread.cc
diff --git
a/src/cpu/simple_thread.cc
b/src/cpu/simple_thread.cc
index af1db2ff27db727f1ed25ced1a813b51d67c46cd..5f86cf2b74b8b9445a7b12344c0f975faf70beb1 100644
(file)
--- a/
src/cpu/simple_thread.cc
+++ b/
src/cpu/simple_thread.cc
@@
-196,6
+196,7
@@
SimpleThread::copyState(ThreadContext *oldContext)
#if !FULL_SYSTEM
funcExeInst = oldContext->readFuncExeInst();
#endif
+ inst = oldContext->getInst();
}
void