Lines Matching defs:bp
825 dl_plt_update_bp_on_hit(struct breakpoint *bp, struct process *proc)
828 proc->pid, breakpoint_name(bp), bp->addr);
849 breakpoint_turn_off(bp, proc);
940 jump_to_entry_point(struct process *proc, struct breakpoint *bp)
945 (uintptr_t)bp->libsym->arch.resolved_value;
950 ppc_plt_bp_continue(struct breakpoint *bp, struct process *proc)
955 if (bp->libsym == NULL) {
956 assert(bp->arch.irel_libsym != NULL);
957 bp->libsym = bp->arch.irel_libsym;
958 bp->arch.irel_libsym = NULL;
961 switch (bp->libsym->arch.type) {
969 assert(bp->libsym != NULL);
970 assert(bp->libsym->lib->arch.bss_plt_prelinked == 0);
987 (proc, bp, on_all_stopped, keep_stepping_p, NULL) < 0) {
990 continue_after_breakpoint(proc, bp);
996 continue_after_breakpoint(proc, bp);
1000 jump_to_entry_point(proc, bp);
1010 assert(bp->libsym->arch.type != bp->libsym->arch.type);
1025 struct breakpoint *bp = data;
1027 if (get_instruction_pointer(task) == bp->addr) {
1029 task->pid, bp->addr);
1030 jump_to_entry_point(task, bp);
1043 ppc_plt_bp_retract(struct breakpoint *bp, struct process *proc)
1049 && bp->libsym != NULL
1050 && bp->libsym->arch.type == PPC_PLT_RESOLVED) {
1051 each_task(proc->leader, NULL, detach_task_cb, bp);
1052 unresolve_plt_slot(proc, bp->libsym->arch.plt_slot_addr,
1053 bp->libsym->arch.resolved_value);
1058 ppc_plt_bp_install(struct breakpoint *bp, struct process *proc)
1061 bp->libsym;
1063 libsym = bp->arch.irel_libsym;
1095 breakpoint_name(bp), bp->addr);
1096 proc_remove_breakpoint(proc, bp);
1149 * don't need PROC here, we can store the data in BP if it is of
1152 arch_breakpoint_init(struct process *proc, struct breakpoint *bp)
1154 bp->arch.irel_libsym = NULL;
1157 if (bp->libsym == NULL || bp->libsym->plt_type != LS_TOPLT_EXEC)
1162 && bp->libsym->lib->arch.bss_plt_prelinked != 0)
1167 && bp->libsym->arch.type == PPC64_PLT_STUB)
1175 breakpoint_set_callbacks(bp, &cbs);
1179 if (bp->libsym->arch.type == PPC_PLT_IRELATIVE) {
1180 bp->arch.irel_libsym = bp->libsym;
1181 bp->libsym = NULL;
1188 arch_breakpoint_destroy(struct breakpoint *bp)