Handled a kind of wicked error case which nevertheless happens quite frequently

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1917 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
unzner
2012-11-11 11:37:08 +00:00
parent 35b1d0203e
commit 1b5bbba0e5
3 changed files with 52 additions and 29 deletions

View File

@ -73,8 +73,12 @@ private:
void logInjection(fail::Logger &log, const L4SysExperimentData &param);
/**
* Proceeds by one single instruction.
* @param preserveAddressSpace if set, the address space of the next instruction
* must match with the current address space
* (for example, this is important when debugging in the kernel)
* @returns the listener that was triggered, in case there were more than one
*/
void singleStep();
fail::BaseListener *singleStep(bool preserveAddressSpace);
/**
* Injects a new instruction into the Bochs instruction stream and restores the previous one
* @param oldInstr address of the instruction to be replaced