/Linux-v4.19/arch/arc/kernel/ |
D | kgdb.c | 95 BREAK_INSTR_SIZE); in undo_single_step() 99 BREAK_INSTR_SIZE); in undo_single_step() 107 memcpy(save, (void *) address, BREAK_INSTR_SIZE); in place_trap() 109 BREAK_INSTR_SIZE); in place_trap() 110 flush_icache_range(address, address + BREAK_INSTR_SIZE); in place_trap() 181 instruction_pointer(regs) -= BREAK_INSTR_SIZE; in kgdb_trap()
|
/Linux-v4.19/arch/x86/kernel/ |
D | kgdb.c | 754 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_set_breakpoint() 758 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 762 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 772 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 773 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 776 if (memcmp(opc, arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE)) in kgdb_arch_set_breakpoint() 786 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_remove_breakpoint() 796 text_poke((void *)bpt->bpt_addr, bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 797 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 798 if (err || memcmp(opc, bpt->saved_instr, BREAK_INSTR_SIZE)) in kgdb_arch_remove_breakpoint() [all …]
|
/Linux-v4.19/drivers/misc/ |
D | kgdbts.c | 242 BREAK_INSTR_SIZE); in break_helper() 319 if (addr + BREAK_INSTR_SIZE == ip) in check_and_rewind_pc() 320 offset = -BREAK_INSTR_SIZE; in check_and_rewind_pc() 503 sstep_addr = cont_addr + BREAK_INSTR_SIZE; in emul_sstep_put() 840 char before[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 841 char after[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 844 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 852 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 853 if (memcmp(before, after, BREAK_INSTR_SIZE)) { in run_plant_and_detach_test()
|
/Linux-v4.19/include/linux/ |
D | kgdb.h | 78 unsigned char saved_instr[BREAK_INSTR_SIZE]; 245 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | kgdb.h | 24 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | kgdb.h | 21 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/kernel/debug/ |
D | debug_core.c | 174 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 178 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 185 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 239 addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr() 244 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr()
|
/Linux-v4.19/arch/h8300/include/asm/ |
D | kgdb.h | 39 #define BREAK_INSTR_SIZE 2 macro
|
/Linux-v4.19/arch/sh/include/asm/ |
D | kgdb.h | 27 #define BREAK_INSTR_SIZE 2 macro
|
/Linux-v4.19/arch/mips/include/asm/ |
D | kgdb.h | 33 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/arm/kernel/ |
D | kgdb.c | 249 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 252 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | kgdb.h | 36 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/arc/include/asm/ |
D | kgdb.h | 24 #define BREAK_INSTR_SIZE 2 macro
|
/Linux-v4.19/arch/x86/include/asm/ |
D | kgdb.h | 85 #define BREAK_INSTR_SIZE 1 macro
|
/Linux-v4.19/arch/nios2/include/asm/ |
D | kgdb.h | 87 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | kgdb.h | 39 #define BREAK_INSTR_SIZE 4 macro
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | debug-monitors.h | 48 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
|
/Linux-v4.19/arch/microblaze/kernel/ |
D | kgdb.c | 90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
|
/Linux-v4.19/arch/h8300/kernel/ |
D | kgdb.c | 85 regs->pc += BREAK_INSTR_SIZE; in h8300_kgdb_trap()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | kgdb.c | 366 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/Linux-v4.19/arch/mips/kernel/ |
D | kgdb.c | 407 memcpy(arch_kgdb_ops.gdb_bpt_instr, insn.byte, BREAK_INSTR_SIZE); in kgdb_arch_init()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | kgdb.c | 148 regs->nip += BREAK_INSTR_SIZE; in kgdb_handle_breakpoint()
|