Searched refs:bpt (Results 1 – 5 of 5) sorted by relevance
/arch/arm/kernel/ |
D | kgdb.c | 255 int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint() argument 262 err = probe_kernel_read(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 268 __patch_text((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 274 int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint() argument 277 __patch_text((void *)bpt->bpt_addr, *(unsigned int *)bpt->saved_instr); in kgdb_arch_remove_breakpoint()
|
/arch/x86/kernel/ |
D | kgdb.c | 745 int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint() argument 750 bpt->type = BP_BREAKPOINT; in kgdb_arch_set_breakpoint() 751 err = probe_kernel_read(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 755 err = probe_kernel_write((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 765 text_poke((void *)bpt->bpt_addr, arch_kgdb_ops.gdb_bpt_instr, in kgdb_arch_set_breakpoint() 767 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 772 bpt->type = BP_POKE_BREAKPOINT; in kgdb_arch_set_breakpoint() 777 int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint() argument 782 if (bpt->type != BP_POKE_BREAKPOINT) in kgdb_arch_remove_breakpoint() 790 text_poke((void *)bpt->bpt_addr, bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() [all …]
|
/arch/tile/kernel/ |
D | kgdb.c | 464 int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_set_breakpoint() argument 467 unsigned long addr_wr = writable_address(bpt->bpt_addr); in kgdb_arch_set_breakpoint() 472 err = probe_kernel_read(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 480 flush_icache_range((unsigned long)bpt->bpt_addr, in kgdb_arch_set_breakpoint() 481 (unsigned long)bpt->bpt_addr + BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 485 int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) in kgdb_arch_remove_breakpoint() argument 488 unsigned long addr_wr = writable_address(bpt->bpt_addr); in kgdb_arch_remove_breakpoint() 493 err = probe_kernel_write((char *)addr_wr, (char *)bpt->saved_instr, in kgdb_arch_remove_breakpoint() 496 flush_icache_range((unsigned long)bpt->bpt_addr, in kgdb_arch_remove_breakpoint() 497 (unsigned long)bpt->bpt_addr + BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
|
D | traps.c | 213 unsigned long bundle, bcode, bpt; in do_bpt() local 221 bpt = bundle & ~((1ULL << 12) - 1); in do_bpt() 222 if (bpt != TILE_BPT_BUNDLE) in do_bpt()
|
/arch/powerpc/xmon/ |
D | xmon.c | 82 struct bpt { struct 97 static struct bpt bpts[NBPTS]; 98 static struct bpt dabr; 99 static struct bpt *iabr; 138 static struct bpt *at_breakpoint(unsigned long pc); 139 static struct bpt *in_breakpoint_table(unsigned long pc, unsigned long *offp); 368 struct bpt *bp; in xmon_core() 595 struct bpt *bp; in xmon_bpt() 658 struct bpt *bp; in xmon_fault_handler() 675 static struct bpt *at_breakpoint(unsigned long pc) in at_breakpoint() [all …]
|