gdb/
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index 60d91ac1d3381f16591e9656f02b30ec6563b52f..1fad5178a0fe32532722ae42566d48f8c8cc2ab2 100644 (file)
@@ -5958,6 +5958,19 @@ create_jit_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
   return b;
 }
 
+/* Remove JIT code registration and unregistration breakpoint(s).  */
+
+void
+remove_jit_event_breakpoints (void)
+{
+  struct breakpoint *b, *b_tmp;
+
+  ALL_BREAKPOINTS_SAFE (b, b_tmp)
+    if (b->type == bp_jit_event
+       && b->loc->pspace == current_program_space)
+      delete_breakpoint (b);
+}
+
 void
 remove_solib_event_breakpoints (void)
 {
This page took 0.025982 seconds and 4 git commands to generate.