| 2327 | } |
| 2328 | |
| 2329 | void Executor::ClearBreakpoints() |
| 2330 | { |
| 2331 | // Check all instructions for break instructions |
| 2332 | for(unsigned int i = 0; i < exLinker->exCode.size(); i++) |
| 2333 | { |
| 2334 | // nop instruction is used for breaks |
| 2335 | // break structure: cmdOriginal, cmdNop |
| 2336 | if(exLinker->exCode[i].cmd == cmdNop) |
| 2337 | exLinker->exCode[i] = breakCode[exLinker->exCode[i].argument]; // replace it with original instruction |
| 2338 | } |
| 2339 | breakCode.clear(); |
| 2340 | } |
| 2341 | |
| 2342 | bool Executor::AddBreakpoint(unsigned int instruction, bool oneHit) |
| 2343 | { |
no test coverage detected