Home
last modified time | relevance | path

Searched refs:bpt_addr (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/arch/alpha/kernel/
Dptrace.c200 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
202 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
207 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
210 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
216 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
222 task_thread_info(child)->bpt_addr[i])); in ptrace_set_bpt()
223 res = write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
249 write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_cancel_bpt()
/Linux-v5.10/kernel/debug/
Ddebug_core.c164 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
168 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
176 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
194 tmp.bpt_addr = addr; in kgdb_validate_break_address()
322 kgdb_break[i].bpt_addr); in dbg_activate_sw_breakpoints()
326 kgdb_flush_swbreak_addr(kgdb_break[i].bpt_addr); in dbg_activate_sw_breakpoints()
344 (kgdb_break[i].bpt_addr == addr)) in dbg_set_sw_break()
349 kgdb_break[i].bpt_addr == addr) { in dbg_set_sw_break()
369 kgdb_break[breakno].bpt_addr = addr; in dbg_set_sw_break()
386 kgdb_break[i].bpt_addr); in dbg_deactivate_sw_breakpoints()
[all …]
/Linux-v5.10/arch/arm/kernel/
Dkgdb.c239 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
245 __patch_text((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
254 __patch_text((void *)bpt->bpt_addr, *(unsigned int *)bpt->saved_instr); in kgdb_arch_remove_breakpoint()
/Linux-v5.10/arch/parisc/kernel/
Dkgdb.c158 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
162 __patch_text((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
169 __patch_text((void *)bpt->bpt_addr, *(unsigned int *)&bpt->saved_instr); in kgdb_arch_remove_breakpoint()
/Linux-v5.10/arch/arm64/kernel/
Dkgdb.c343 err = aarch64_insn_read((void *)bpt->bpt_addr, (u32 *)bpt->saved_instr); in kgdb_arch_set_breakpoint()
347 return aarch64_insn_write((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
353 return aarch64_insn_write((void *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
/Linux-v5.10/arch/x86/kernel/
Dkgdb.c736 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
740 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
750 text_poke_kgdb((void *)bpt->bpt_addr, arch_kgdb_ops.gdb_bpt_instr, in kgdb_arch_set_breakpoint()
767 text_poke_kgdb((void *)bpt->bpt_addr, bpt->saved_instr, in kgdb_arch_remove_breakpoint()
772 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
/Linux-v5.10/arch/alpha/include/asm/
Dthread_info.h28 unsigned long bpt_addr[2]; /* breakpoint handling */ member
/Linux-v5.10/arch/powerpc/kernel/
Dkgdb.c422 struct ppc_inst *addr = (struct ppc_inst *)bpt->bpt_addr; in kgdb_arch_set_breakpoint()
441 struct ppc_inst *addr = (struct ppc_inst *)bpt->bpt_addr; in kgdb_arch_remove_breakpoint()
/Linux-v5.10/include/linux/
Dkgdb.h78 unsigned long bpt_addr; member