Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/arch/riscv/include/asm/
Dkgdb.h15 #define BREAK_INSTR_SIZE 2 macro
17 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/include/linux/
Dkgdb.h79 unsigned char saved_instr[BREAK_INSTR_SIZE];
263 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
/linux-6.1.9/arch/riscv/kernel/
Dkgdb.c158 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/
Dkgdb.c737 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/
Dkgdb.h11 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/microblaze/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/powerpc/include/asm/
Dkgdb.h26 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/sh/include/asm/
Dkgdb.h27 #define BREAK_INSTR_SIZE 2 macro
/linux-6.1.9/arch/parisc/include/asm/
Dkgdb.h12 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/mips/include/asm/
Dkgdb.h33 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/arm/include/asm/
Dkgdb.h36 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/arc/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 2 macro
/linux-6.1.9/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.1.9/arch/x86/include/asm/
Dkgdb.h85 #define BREAK_INSTR_SIZE 1 macro
/linux-6.1.9/arch/nios2/include/asm/
Dkgdb.h74 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/sparc/include/asm/
Dkgdb.h39 #define BREAK_INSTR_SIZE 4 macro
/linux-6.1.9/arch/arm64/include/asm/
Ddebug-monitors.h35 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
/linux-6.1.9/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.1.9/arch/microblaze/kernel/
Dkgdb.c90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
/linux-6.1.9/arch/parisc/kernel/
Dkgdb.c159 (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/linux-6.1.9/arch/arm64/kernel/
Dkgdb.c342 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/linux-6.1.9/arch/powerpc/kernel/
Dkgdb.c147 regs_add_return_ip(regs, BREAK_INSTR_SIZE); in kgdb_handle_breakpoint()