summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-09 00:06:05 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-09 00:06:05 -0700
commitc5c6ad7ed6dff171c888aa20d505f87293cc1159 (patch)
treecdc81d578bfdcef64cd41eb2de26948c5b97f4b7 /src/cpu/thread_context.hh
parente1b306fa537bd8fba4c522ee313a2915f7daec61 (diff)
downloadgem5-c5c6ad7ed6dff171c888aa20d505f87293cc1159.tar.xz
CPU: Fix where setMicroPC was being called instead of setNextMicroPC.
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index b1687a494..9dffbd8c6 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -429,7 +429,7 @@ class ProxyThreadContext : public ThreadContext
uint64_t readNextMicroPC() { return actualTC->readMicroPC(); }
- void setNextMicroPC(uint64_t val) { actualTC->setMicroPC(val); }
+ void setNextMicroPC(uint64_t val) { actualTC->setNextMicroPC(val); }
MiscReg readMiscRegNoEffect(int misc_reg)
{ return actualTC->readMiscRegNoEffect(misc_reg); }