Home | History | Annotate | Download | only in ltrace

Lines Matching refs:breakpoint

37  * low-level breakpoint, likely without tracepoint attached.
47 void (*on_hit)(struct breakpoint *bp, struct process *proc);
48 void (*on_continue)(struct breakpoint *bp, struct process *proc);
49 void (*on_install)(struct breakpoint *bp, struct process *proc);
50 void (*on_retract)(struct breakpoint *bp, struct process *proc);
52 /* Create a new breakpoint that should handle return from the
53 * function. BP is the breakpoint that was just hit and for
54 * which we wish to find the corresponding return breakpoint.
56 * been initialized to desired breakpoint object, or NULL if
58 int (*get_return_bp)(struct breakpoint **ret,
59 struct breakpoint *bp, struct process *proc);
62 struct breakpoint {
73 void breakpoint_on_hit(struct breakpoint *bp, struct process *proc);
77 void breakpoint_on_continue(struct breakpoint *bp, struct process *proc);
83 * be called every time we disable the breakpoint, which is too often
84 * (a breakpoint has to be disabled every time that we need to execute
86 void breakpoint_on_retract(struct breakpoint *bp, struct process *proc);
89 * called after the breakpoint is enabled for the first time, not
91 * temporarily disabled breakpoint). */
92 void breakpoint_on_install(struct breakpoint *bp, struct process *proc);
96 int breakpoint_get_return_bp(struct breakpoint **ret,
97 struct breakpoint *bp, struct process *proc);
99 /* Initialize a breakpoint structure. That doesn't actually realize
100 * the breakpoint. The breakpoint is initially assumed to be
103 int breakpoint_init(struct breakpoint *bp, struct process *proc,
106 /* Make a clone of breakpoint BP into the area of memory pointed to by
107 * RETP. Symbols of cloned breakpoint are looked up in NEW_PROC.
109 int breakpoint_clone(struct breakpoint *retp, struct process *new_proc,
110 struct breakpoint *bp);
113 void breakpoint_set_callbacks(struct breakpoint *bp, struct bp_callbacks *cbs);
115 /* Destroy a breakpoint structure. */
116 void breakpoint_destroy(struct breakpoint *bp);
120 int breakpoint_turn_on(struct breakpoint *bp, struct process *proc);
125 int breakpoint_turn_off(struct breakpoint *bp, struct process *proc);
127 /* Allocate and initialize a default return breakpoint. Returns NULL
129 struct breakpoint *create_default_return_bp(struct process *proc);
131 /* This allocates and initializes new breakpoint at ADDR, then calls
132 * INSERT_BREAKPOINT. Returns the new breakpoint or NULL if there are
134 struct breakpoint *insert_breakpoint_at(struct process *proc, arch_addr_t addr,
137 /* Check if there is a breakpoint on this address already. If yes,
138 * return that breakpoint instead (BP was not added). If no, try to
141 struct breakpoint *insert_breakpoint(struct process *proc,
142 struct breakpoint *bp);
145 const char *breakpoint_name(const struct breakpoint *bp);
147 /* A library that this breakpoint comes from. May be NULL. */
148 struct library *breakpoint_library(const struct breakpoint *bp);
156 int delete_breakpoint(struct process *proc, struct breakpoint *bp);
159 struct breakpoint *address2bpstruct(struct process *proc, void *addr);