Home
last modified time | relevance | path

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

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