Home
last modified time | relevance | path

Searched refs:BREAK_INSTR_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/arch/arc/kernel/
Dkgdb.c92 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/
Dkgdbts.c241 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/
Dkgdb.h15 #define BREAK_INSTR_SIZE 2 macro
17 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/riscv/kernel/
Dkgdb.c139 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/
Dkgdb.h79 unsigned char saved_instr[BREAK_INSTR_SIZE];
263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
/linux-6.6.21/arch/x86/kernel/
Dkgdb.c736 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/
Dkgdb.h11 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/microblaze/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/powerpc/include/asm/
Dkgdb.h26 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/sh/include/asm/
Dkgdb.h27 #define BREAK_INSTR_SIZE 2 macro
/linux-6.6.21/arch/parisc/include/asm/
Dkgdb.h12 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/mips/include/asm/
Dkgdb.h33 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/arm/include/asm/
Dkgdb.h36 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/arc/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 2 macro
/linux-6.6.21/arch/arm/kernel/
Dkgdb.c257 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/
Dkgdb.h63 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/nios2/include/asm/
Dkgdb.h74 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/x86/include/asm/
Dkgdb.h85 #define BREAK_INSTR_SIZE 1 macro
/linux-6.6.21/arch/sparc/include/asm/
Dkgdb.h39 #define BREAK_INSTR_SIZE 4 macro
/linux-6.6.21/arch/loongarch/kernel/
Dkgdb.c397 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/
Ddebug-monitors.h35 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
/linux-6.6.21/kernel/debug/
Ddebug_core.c161 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/
Dkgdb.c90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
/linux-6.6.21/arch/parisc/kernel/
Dkgdb.c159 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/linux-6.6.21/arch/arm64/kernel/
Dkgdb.c344 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()

12