git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1962 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
24 lines
836 B
Diff
24 lines
836 B
Diff
195c195
|
|
< BPSingleListener bp(0, L4SYS_ADDRESS_SPACE);
|
|
---
|
|
> BPSingleListener bp(0, ANY_ADDR);
|
|
202,209c202,210
|
|
< bp.setWatchInstructionPointer(L4SYS_FUNC_ENTRY);
|
|
< simulator.addListenerAndResume(&bp);
|
|
<
|
|
< log << "test function entry reached, saving state" << endl;
|
|
< log << "EIP = " << hex << bp.getTriggerInstructionPointer() << " or "
|
|
< << simulator.getRegisterManager().getInstructionPointer()
|
|
< << endl;
|
|
< simulator.save(L4SYS_STATE_FOLDER);
|
|
---
|
|
> for (int i = 0; i < 500; i++) {
|
|
> bp.setWatchInstructionPointer(L4SYS_FUNC_ENTRY);
|
|
> simulator.addListenerAndResume(&bp);
|
|
> log << "test function entry reached" << endl;
|
|
> log << "EIP = " << hex << bp.getTriggerInstructionPointer() << " or "
|
|
> << simulator.getRegisterManager().getInstructionPointer()
|
|
> << endl;
|
|
> simulator.removeListener(&bp);
|
|
> }
|