adapt experiments to new restore() behavior

This change adapts several experiments, including the
DatabaseExperiment framework, to the restore() behavior update from
the previous change.  Existing traces should continue to be usable.

This is not tested yet, mainly because I don't have access to most of
the experiment targets / guest systems necessary for testing.  Please
test your own experiments if possible, or at least leave me a note
that you couldn't test it!

Especially the cored-voter/experiment.cc update may be broken, but
maybe the "FISHY" +2 in there was not OK in the first place.

Change-Id: I0c5daeabc8fe6ce0c3ce3e7e13d02195f41340ad
This commit is contained in:
Horst Schirmeier
2015-03-18 18:16:47 +01:00
parent 91a9c6f688
commit 193e5b757e
8 changed files with 42 additions and 39 deletions

View File

@ -197,7 +197,7 @@ bool DCIAOKernelStructs::run() {
simulator.addListener(&l_time_marker_print);
bp.setWatchInstructionPointer(ANY_ADDR);
bp.setCounter(injection_instr+1);
bp.setCounter(injection_instr);
simulator.addListener(&bp);
// Add vport listener