/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A 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() 178 instruction_pointer(regs) -= BREAK_INSTR_SIZE; in kgdb_trap()
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | kgdbts.c | 231 BREAK_INSTR_SIZE); in break_helper() 308 if (addr + BREAK_INSTR_SIZE == ip) in check_and_rewind_pc() 309 offset = -BREAK_INSTR_SIZE; in check_and_rewind_pc() 492 sstep_addr = cont_addr + BREAK_INSTR_SIZE; in emul_sstep_put() 829 char before[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 830 char after[BREAK_INSTR_SIZE]; in run_plant_and_detach_test() 833 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 841 BREAK_INSTR_SIZE); in run_plant_and_detach_test() 842 if (memcmp(before, after, BREAK_INSTR_SIZE)) { in run_plant_and_detach_test()
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | kgdb.h | 15 #define BREAK_INSTR_SIZE 2 macro 17 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | kgdb.h | 15 #define BREAK_INSTR_SIZE 2 macro 17 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | kgdb.h | 79 unsigned char saved_instr[BREAK_INSTR_SIZE]; 263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | kgdb.h | 79 unsigned char saved_instr[BREAK_INSTR_SIZE]; 263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
H A D | kgdb.h | 21 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
H A D | kgdb.h | 11 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-6.6/arch/hexagon/include/asm/ |
H A D | kgdb.h | 11 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-6.6/arch/microblaze/include/asm/ |
H A D | kgdb.h | 21 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
H A D | kgdb.h | 39 #define BREAK_INSTR_SIZE 2 macro
|
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | kgdb.h | 20 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/kernel/debug/ |
H A D | debug_core.c | 166 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 170 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 178 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 297 addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr() 302 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | kgdb.h | 36 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | kgdb.h | 33 #define BREAK_INSTR_SIZE 4 macro
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
H A D | kgdb.h | 21 #define BREAK_INSTR_SIZE 2 macro
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | kgdb.h | 12 #define BREAK_INSTR_SIZE 4 macro
|