- if (after_breakpoint) {
- /* see comments above arch_do_displaced_inst. This is where
- * we reinsert the breakpoint that we removed earlier */
-
- *os_context_pc_addr(context) -=4;
- *skipped_break_addr = BREAKPOINT_INST;
- os_flush_icache((os_vm_address_t)skipped_break_addr,
- sizeof(unsigned long));
- skipped_break_addr = NULL;
- *(unsigned int *)*os_context_pc_addr(context) =
- displaced_after_inst;
- os_flush_icache((os_vm_address_t)*os_context_pc_addr(context), sizeof(unsigned long));
- *os_context_sigmask_addr(context)= orig_sigmask;
- after_breakpoint=0; /* false */
- return;
- } else
- code = trap_Breakpoint;
+ if (after_breakpoint) {
+ /* see comments above arch_do_displaced_inst. This is where
+ * we reinsert the breakpoint that we removed earlier */
+
+ *os_context_pc_addr(context) -=4;
+ *skipped_break_addr = BREAKPOINT_INST;
+ os_flush_icache((os_vm_address_t)skipped_break_addr,
+ sizeof(unsigned int));
+ skipped_break_addr = NULL;
+ *(unsigned int *)*os_context_pc_addr(context) =
+ displaced_after_inst;
+ os_flush_icache((os_vm_address_t)*os_context_pc_addr(context), sizeof(unsigned int));
+ *os_context_sigmask_addr(context)= orig_sigmask;
+ after_breakpoint=0; /* false */
+ return;
+ } else
+ code = trap_Breakpoint;