| 173 | #endif |
| 174 | |
| 175 | void |
| 176 | db_set_breakpoints(void) |
| 177 | { |
| 178 | register db_breakpoint_t bkpt; |
| 179 | |
| 180 | if (!db_breakpoints_inserted) { |
| 181 | for (bkpt = db_breakpoint_list; |
| 182 | bkpt != 0; |
| 183 | bkpt = bkpt->link) |
| 184 | if (db_map_current(bkpt->map)) { |
| 185 | BKPT_WRITE(bkpt->address, &bkpt->bkpt_inst); |
| 186 | } |
| 187 | db_breakpoints_inserted = true; |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | void |
| 192 | db_clear_breakpoints(void) |
no test coverage detected