/linux-6.6.21/arch/arc/kernel/ |
D | kgdb.c | 92 BREAK_INSTR_SIZE); in undo_single_step() 96 BREAK_INSTR_SIZE); in undo_single_step() 104 memcpy(save, (void *) address, BREAK_INSTR_SIZE); in place_trap() 106 BREAK_INSTR_SIZE); in place_trap() 107 flush_icache_range(address, address + BREAK_INSTR_SIZE); in place_trap() 179 instruction_pointer(regs) -= BREAK_INSTR_SIZE; in kgdb_trap()
|
/linux-6.6.21/drivers/misc/ |
D | kgdbts.c | 241 BREAK_INSTR_SIZE); in break_helper() 318 if (addr + BREAK_INSTR_SIZE == ip) in check_and_rewind_pc() 319 offset = -BREAK_INSTR_SIZE; in check_and_rewind_pc() 502 sstep_addr = cont_addr + BREAK_INSTR_SIZE; in emul_sstep_put() 839 char before[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 840 char after[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 843 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 851 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 852 if (memcmp(before, after, BREAK_INSTR_SIZE)) { in run_plant_and_detach_test()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | kgdb.h | 15 #define BREAK_INSTR_SIZE 2 macro 17 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/riscv/kernel/ |
D | kgdb.c | 139 BREAK_INSTR_SIZE); in do_single_step() 142 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in do_single_step() 158 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step() 160 stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
|
/linux-6.6.21/include/linux/ |
D | kgdb.h | 79 unsigned char saved_instr[BREAK_INSTR_SIZE]; 263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/linux-6.6.21/arch/x86/kernel/ |
D | kgdb.c | 736 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 740 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 750 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 767 BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 772 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
|
/linux-6.6.21/arch/hexagon/include/asm/ |
D | kgdb.h | 11 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | kgdb.h | 21 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/sh/include/asm/ |
D | kgdb.h | 27 #define BREAK_INSTR_SIZE 2 macro
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | kgdb.h | 12 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/mips/include/asm/ |
D | kgdb.h | 33 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/arm/include/asm/ |
D | kgdb.h | 36 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/arc/include/asm/ |
D | kgdb.h | 21 #define BREAK_INSTR_SIZE 2 macro
|
/linux-6.6.21/arch/arm/kernel/ |
D | kgdb.c | 257 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 260 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | kgdb.h | 63 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | kgdb.h | 74 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | kgdb.h | 85 #define BREAK_INSTR_SIZE 1 macro
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | kgdb.h | 39 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | kgdb.c | 397 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in do_single_step() 398 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in do_single_step() 416 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step() 417 flush_icache_range(stepped_address, stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | debug-monitors.h | 35 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
|
/linux-6.6.21/kernel/debug/ |
D | debug_core.c | 161 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 165 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 173 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 286 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr()
|
/linux-6.6.21/arch/microblaze/kernel/ |
D | kgdb.c | 90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | kgdb.c | 159 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | kgdb.c | 344 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|