| 1134 | } |
| 1135 | |
| 1136 | nullres nullcDebugClearBreakpoints() |
| 1137 | { |
| 1138 | using namespace NULLC; |
| 1139 | |
| 1140 | if(!executor) |
| 1141 | { |
| 1142 | nullcLastError = "ERROR: NULLC is not initialized"; |
| 1143 | return false; |
| 1144 | } |
| 1145 | executor->ClearBreakpoints(); |
| 1146 | #ifdef NULLC_BUILD_X86_JIT |
| 1147 | if(!executorX86) |
| 1148 | { |
| 1149 | nullcLastError = "ERROR: NULLC is not initialized"; |
| 1150 | return false; |
| 1151 | } |
| 1152 | executorX86->ClearBreakpoints(); |
| 1153 | #endif |
| 1154 | return true; |
| 1155 | } |
| 1156 | |
| 1157 | nullres nullcDebugAddBreakpointImpl(unsigned int instruction, bool oneHit) |
| 1158 | { |
no test coverage detected