Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/debug/
Ddebug_core.c160 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
164 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
172 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
190 tmp.bpt_addr = addr; in kgdb_validate_break_address()
307 kgdb_break[i].bpt_addr); in dbg_activate_sw_breakpoints()
311 kgdb_flush_swbreak_addr(kgdb_break[i].bpt_addr); in dbg_activate_sw_breakpoints()
329 (kgdb_break[i].bpt_addr == addr)) in dbg_set_sw_break()
334 kgdb_break[i].bpt_addr == addr) { in dbg_set_sw_break()
354 kgdb_break[breakno].bpt_addr = addr; in dbg_set_sw_break()
371 kgdb_break[i].bpt_addr); in dbg_deactivate_sw_breakpoints()
[all …]
/linux-6.6.21/arch/alpha/kernel/
Dptrace.c201 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
203 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
211 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
217 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
223 task_thread_info(child)->bpt_addr[i])); in ptrace_set_bpt()
224 res = write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
250 write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_cancel_bpt()
/linux-6.6.21/arch/arm/kernel/
Dkgdb.c259 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
265 __patch_text((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
274 __patch_text((void *)bpt->bpt_addr, *(unsigned int *)bpt->saved_instr); in kgdb_arch_remove_breakpoint()
/linux-6.6.21/arch/parisc/kernel/
Dkgdb.c159 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
163 __patch_text((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
170 __patch_text((void *)bpt->bpt_addr, *(unsigned int *)&bpt->saved_instr); in kgdb_arch_remove_breakpoint()
/linux-6.6.21/arch/arm64/kernel/
Dkgdb.c346 err = aarch64_insn_read((void *)bpt->bpt_addr, (u32 *)bpt->saved_instr); in kgdb_arch_set_breakpoint()
350 return aarch64_insn_write((void *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
356 return aarch64_insn_write((void *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
/linux-6.6.21/arch/x86/kernel/
Dkgdb.c735 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
739 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
749 text_poke_kgdb((void *)bpt->bpt_addr, arch_kgdb_ops.gdb_bpt_instr, in kgdb_arch_set_breakpoint()
766 text_poke_kgdb((void *)bpt->bpt_addr, bpt->saved_instr, in kgdb_arch_remove_breakpoint()
771 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
/linux-6.6.21/arch/alpha/include/asm/
Dthread_info.h27 unsigned long bpt_addr[2]; /* breakpoint handling */ member
/linux-6.6.21/arch/powerpc/kernel/
Dkgdb.c417 u32 instr, *addr = (u32 *)bpt->bpt_addr; in kgdb_arch_set_breakpoint()
437 u32 *addr = (u32 *)bpt->bpt_addr; in kgdb_arch_remove_breakpoint()
/linux-6.6.21/include/linux/
Dkgdb.h78 unsigned long bpt_addr; member