Lines Matching refs:breakpoint
37 #include "breakpoint.h"
63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc)
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc)
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc)
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc)
97 breakpoint_get_return_bp(struct breakpoint **ret,
98 struct breakpoint *bp, struct process *proc)
112 struct breakpoint *
120 struct breakpoint *found;
128 os_breakpoint_init(struct process *proc, struct breakpoint *sbp)
134 os_breakpoint_destroy(struct breakpoint *sbp)
139 os_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
147 arch_breakpoint_init(struct process *proc, struct breakpoint *sbp)
153 arch_breakpoint_destroy(struct breakpoint *sbp)
158 arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
165 breakpoint_init_base(struct breakpoint *bp,
180 breakpoint_init(struct breakpoint *bp, struct process *proc,
194 breakpoint_set_callbacks(struct breakpoint *bp, struct bp_callbacks *cbs)
202 breakpoint_destroy(struct breakpoint *bp)
211 breakpoint_clone(struct breakpoint *retp, struct process *new_proc,
212 struct breakpoint *bp)
234 breakpoint_turn_on(struct breakpoint *bp, struct process *proc)
246 breakpoint_turn_off(struct breakpoint *bp, struct process *proc)
255 struct breakpoint *
258 struct breakpoint *bp = malloc(sizeof *bp);
268 struct breakpoint *
278 struct breakpoint *bp = malloc(sizeof *bp);
286 * create a return breakpoint ltrace calls get_return_addr and
292 struct breakpoint *tmp = insert_breakpoint(proc, bp);
300 struct breakpoint *
301 insert_breakpoint(struct process *proc, struct breakpoint *bp)
304 * thus have ->breakpoint initialized. */
311 * following works if every breakpoint is the same and there's
314 * to have more than one breakpoint per address is return from
316 struct breakpoint *ext_bp = bp;
341 struct breakpoint *bp = NULL;
346 fprintf(stderr, "Couldn't turn off the breakpoint %s@%p\n",
352 delete_breakpoint(struct process *proc, struct breakpoint *bp)
370 breakpoint_name(const struct breakpoint *bp)
377 breakpoint_library(const struct breakpoint *bp)
384 disable_bp_cb(arch_addr_t *addr, struct breakpoint **bpp, void *data)
398 DICT_EACH(proc->breakpoints, arch_addr_t, struct breakpoint *,
403 entry_breakpoint_on_hit(struct breakpoint *bp, struct process *proc)
413 struct breakpoint *bp, arch_addr_t addr,
433 /* XXX breakpoint dictionary should be initialized
445 struct breakpoint *entry_bp = NULL;
468 "Couldn't initialize entry breakpoint for PID %d.\n"