Minor bugfix

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1865 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
unzner
2012-10-30 10:59:27 +00:00
parent 7ae8b6b09d
commit 22634f6103

View File

@ -202,7 +202,7 @@ bool L4SysExperiment::run() {
// now check if we want to add the instruction for fault injection
if (instrFilter != NULL &&
instrFilter->isValidInstr(curr_addr, simulator.getCurrentInstruction())) {
instrFilter->isValidInstr(curr_addr, calculateInstructionAddress())) {
accepted++;
TraceInstr new_instr;
new_instr.trigger_addr = curr_addr;