Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arc/kernel/
Dkgdb.c95 BREAK_INSTR_SIZE); in undo_single_step()
99 BREAK_INSTR_SIZE); in undo_single_step()
107 memcpy(save, (void *) address, BREAK_INSTR_SIZE); in place_trap()
109 BREAK_INSTR_SIZE); in place_trap()
110 flush_icache_range(address, address + BREAK_INSTR_SIZE); in place_trap()
181 instruction_pointer(regs) -= BREAK_INSTR_SIZE; in kgdb_trap()
/Linux-v4.19/arch/x86/kernel/
Dkgdb.c754 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_set_breakpoint()
758 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
762 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
772 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
773 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
776 if (memcmp(opc, arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE)) in kgdb_arch_set_breakpoint()
786 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_remove_breakpoint()
796 text_poke((void *)bpt->bpt_addr, bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
797 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
798 if (err || memcmp(opc, bpt->saved_instr, BREAK_INSTR_SIZE)) in kgdb_arch_remove_breakpoint()
[all …]
/Linux-v4.19/drivers/misc/
Dkgdbts.c242 BREAK_INSTR_SIZE); in break_helper()
319 if (addr + BREAK_INSTR_SIZE == ip) in check_and_rewind_pc()
320 offset = -BREAK_INSTR_SIZE; in check_and_rewind_pc()
503 sstep_addr = cont_addr + BREAK_INSTR_SIZE; in emul_sstep_put()
840 char before[BREAK_INSTR_SIZE]; in run_plant_and_detach_test()
841 char after[BREAK_INSTR_SIZE]; in run_plant_and_detach_test()
844 BREAK_INSTR_SIZE); in run_plant_and_detach_test()
852 BREAK_INSTR_SIZE); in run_plant_and_detach_test()
853 if (memcmp(before, after, BREAK_INSTR_SIZE)) { in run_plant_and_detach_test()
/Linux-v4.19/include/linux/
Dkgdb.h78 unsigned char saved_instr[BREAK_INSTR_SIZE];
245 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
/Linux-v4.19/arch/hexagon/include/asm/
Dkgdb.h24 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/microblaze/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/powerpc/include/asm/
Dkgdb.h26 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/kernel/debug/
Ddebug_core.c174 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
178 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
185 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()
239 addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr()
244 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); in kgdb_flush_swbreak_addr()
/Linux-v4.19/arch/h8300/include/asm/
Dkgdb.h39 #define BREAK_INSTR_SIZE 2 macro
/Linux-v4.19/arch/sh/include/asm/
Dkgdb.h27 #define BREAK_INSTR_SIZE 2 macro
/Linux-v4.19/arch/mips/include/asm/
Dkgdb.h33 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/arm/kernel/
Dkgdb.c249 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
252 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/Linux-v4.19/arch/arm/include/asm/
Dkgdb.h36 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/arc/include/asm/
Dkgdb.h24 #define BREAK_INSTR_SIZE 2 macro
/Linux-v4.19/arch/x86/include/asm/
Dkgdb.h85 #define BREAK_INSTR_SIZE 1 macro
/Linux-v4.19/arch/nios2/include/asm/
Dkgdb.h87 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/sparc/include/asm/
Dkgdb.h39 #define BREAK_INSTR_SIZE 4 macro
/Linux-v4.19/arch/arm64/include/asm/
Ddebug-monitors.h48 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
/Linux-v4.19/arch/microblaze/kernel/
Dkgdb.c90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
/Linux-v4.19/arch/h8300/kernel/
Dkgdb.c85 regs->pc += BREAK_INSTR_SIZE; in h8300_kgdb_trap()
/Linux-v4.19/arch/arm64/kernel/
Dkgdb.c366 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/Linux-v4.19/arch/mips/kernel/
Dkgdb.c407 memcpy(arch_kgdb_ops.gdb_bpt_instr, insn.byte, BREAK_INSTR_SIZE); in kgdb_arch_init()
/Linux-v4.19/arch/powerpc/kernel/
Dkgdb.c148 regs->nip += BREAK_INSTR_SIZE; in kgdb_handle_breakpoint()