/linux-6.1.9/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.1.9/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.1.9/arch/riscv/include/asm/ |
D | kgdb.h | 15 #define BREAK_INSTR_SIZE 2 macro 17 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/include/linux/ |
D | kgdb.h | 79 unsigned char saved_instr[BREAK_INSTR_SIZE]; 263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/linux-6.1.9/arch/riscv/kernel/ |
D | kgdb.c | 158 BREAK_INSTR_SIZE); in do_single_step() 161 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in do_single_step() 177 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step() 179 stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
|
/linux-6.1.9/arch/x86/kernel/ |
D | kgdb.c | 737 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 741 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 751 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 768 BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 773 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | kgdb.h | 11 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | kgdb.h | 21 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/sh/include/asm/ |
D | kgdb.h | 27 #define BREAK_INSTR_SIZE 2 macro
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | kgdb.h | 12 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/mips/include/asm/ |
D | kgdb.h | 33 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/arm/include/asm/ |
D | kgdb.h | 36 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/arc/include/asm/ |
D | kgdb.h | 21 #define BREAK_INSTR_SIZE 2 macro
|
/linux-6.1.9/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.1.9/arch/x86/include/asm/ |
D | kgdb.h | 85 #define BREAK_INSTR_SIZE 1 macro
|
/linux-6.1.9/arch/nios2/include/asm/ |
D | kgdb.h | 74 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | kgdb.h | 39 #define BREAK_INSTR_SIZE 4 macro
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | debug-monitors.h | 35 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
|
/linux-6.1.9/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.1.9/arch/microblaze/kernel/ |
D | kgdb.c | 90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | kgdb.c | 159 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | kgdb.c | 342 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | kgdb.c | 147 regs_add_return_ip(regs, BREAK_INSTR_SIZE); in kgdb_handle_breakpoint()
|