Faults: Pass the StaticInst involved, if any, to a Fault's invoke method.
[gem5.git] / src / cpu / checker / cpu_impl.hh
index 81f49463042416075550120a66ec04555009700e..494298cadab54fd365075fe4e8fe02c92050eb97 100644 (file)
@@ -240,7 +240,7 @@ Checker<DynInstPtr>::verify(DynInstPtr &completed_inst)
 
         if (fault != NoFault) {
 #if FULL_SYSTEM
-            fault->invoke(tc);
+            fault->invoke(tc, curStaticInst);
             willChangePC = true;
             newPC = thread->readPC();
             DPRINTF(Checker, "Fault, PC is now %#x\n", newPC);