Drop bp_callbacks.on_destroy
Unless until it turns out it's really needed, in which case drop the
arch_breakpoint_data customization and convert current uses to the
OO model.
diff --git a/breakpoint.h b/breakpoint.h
index 30a9d7c..0509304 100644
--- a/breakpoint.h
+++ b/breakpoint.h
@@ -63,9 +63,8 @@
struct breakpoint;
struct bp_callbacks {
- void (*on_hit) (struct breakpoint *bp, struct Process *proc);
- void (*on_continue) (struct breakpoint *bp, struct Process *proc);
- void (*on_destroy) (struct breakpoint *bp);
+ void (*on_hit)(struct breakpoint *bp, struct Process *proc);
+ void (*on_continue)(struct breakpoint *bp, struct Process *proc);
};
struct breakpoint {
@@ -80,7 +79,7 @@
/* Call on-hit handler of BP, if any is set. */
void breakpoint_on_hit(struct breakpoint *bp, struct Process *proc);
-/* Call on-reenable handler of BP. If none is set, call
+/* Call on-continue handler of BP. If none is set, call
* continue_after_breakpoint. */
void breakpoint_on_continue(struct breakpoint *bp, struct Process *proc);