void __install_breakpoints (void) { /* NOP since single-step HW exceptions are used instead of breakpoints. */ /* Install the breakpoints in the breakpoint list */ __install_breakpoint_list(); }
void __install_breakpoints () { /* if (instrBuffer.targetAddr != NULL) { instrBuffer.savedInstr = *instrBuffer.targetAddr; *instrBuffer.targetAddr = __break_opcode (); } */ /* Install the breakpoints in the breakpoint list */ __install_breakpoint_list(); // No need to flush caches here; Generic stub code will handle this. }
void __install_breakpoints () { if (instrBuffer.targetAddr != NULL) { instrBuffer.savedInstr = *instrBuffer.targetAddr; *instrBuffer.targetAddr = __break_opcode (); } // Ensure that any instructions that are about to be modified aren't in // the instruction cache. HAL_ICACHE_SYNC(); // Install the breakpoints in the breakpoint list __install_breakpoint_list(); // Make sure the breakpoints have been written out to memory. HAL_DCACHE_SYNC(); }