diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-09-20 02:46:42 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-09-20 02:46:42 -0700 |
commit | ab8d7eee76e9d439070fe116fb23e0afe7aa74c3 (patch) | |
tree | 2fc54a18e5233e875c664b4897368805b425a174 /src/cpu/o3/commit_impl.hh | |
parent | 3f9f4bf3d6ce9080adb03966599e0f1a98b091eb (diff) | |
download | gem5-ab8d7eee76e9d439070fe116fb23e0afe7aa74c3.tar.xz |
CPU: Fix O3 and possible InOrder segfaults in FS.
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r-- | src/cpu/o3/commit_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh index 87f18d4e4..98c7b49c8 100644 --- a/src/cpu/o3/commit_impl.hh +++ b/src/cpu/o3/commit_impl.hh @@ -1062,7 +1062,7 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num) // needed to update the state as soon as possible. This // prevents external agents from changing any specific state // that the trap need. - cpu->trap(inst_fault, tid, head_inst); + cpu->trap(inst_fault, tid, head_inst->staticInst); // Exit state update mode to avoid accidental updating. thread[tid]->inSyscall = false; |