Home
last modified time | relevance | path

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

/arch/tile/kernel/
Dkgdb.c305 BREAK_INSTR_SIZE); in do_single_step()
309 BREAK_INSTR_SIZE); in do_single_step()
311 flush_icache_range(stepped_addr, stepped_addr + BREAK_INSTR_SIZE); in do_single_step()
323 BREAK_INSTR_SIZE); in undo_single_step()
326 flush_icache_range(stepped_addr, stepped_addr + BREAK_INSTR_SIZE); in undo_single_step()
419 regs->pc += BREAK_INSTR_SIZE; in kgdb_arch_handle_exception()
447 memcpy(arch_kgdb_ops.gdb_bpt_instr, &bundle, BREAK_INSTR_SIZE); in kgdb_arch_init()
471 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
476 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
479 (unsigned long)bpt->bpt_addr + BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
[all …]
/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()
/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 …]
/arch/hexagon/include/asm/
Dkgdb.h24 #define BREAK_INSTR_SIZE 4 macro
/arch/microblaze/include/asm/
Dkgdb.h21 #define BREAK_INSTR_SIZE 4 macro
/arch/tile/include/asm/
Dkgdb.h44 #define BREAK_INSTR_SIZE TILEGX_BUNDLE_SIZE_IN_BYTES macro
/arch/powerpc/include/asm/
Dkgdb.h26 #define BREAK_INSTR_SIZE 4 macro
/arch/h8300/include/asm/
Dkgdb.h39 #define BREAK_INSTR_SIZE 2 macro
/arch/sh/include/asm/
Dkgdb.h27 #define BREAK_INSTR_SIZE 2 macro
/arch/mn10300/include/asm/
Dkgdb.h78 #define BREAK_INSTR_SIZE 1 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.h24 #define BREAK_INSTR_SIZE 2 macro
/arch/nios2/include/asm/
Dkgdb.h87 #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/blackfin/kernel/
Dkgdb.c439 if (addr >= 0x1000 && (addr + BREAK_INSTR_SIZE) <= physical_mem_end) in kgdb_validate_break_address()
441 if (IN_MEM(addr, BREAK_INSTR_SIZE, ASYNC_BANK0_BASE, ASYNC_BANK_SIZE)) in kgdb_validate_break_address()
443 if (cpu == 0 && IN_MEM(addr, BREAK_INSTR_SIZE, L1_CODE_START, L1_CODE_LENGTH)) in kgdb_validate_break_address()
446 else if (cpu == 1 && IN_MEM(addr, BREAK_INSTR_SIZE, COREB_L1_CODE_START, L1_CODE_LENGTH)) in kgdb_validate_break_address()
449 if (IN_MEM(addr, BREAK_INSTR_SIZE, L2_START, L2_LENGTH)) in kgdb_validate_break_address()
/arch/arm64/include/asm/
Ddebug-monitors.h48 #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE macro
/arch/arm/kernel/
Dkgdb.c253 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
256 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/arch/blackfin/include/asm/
Dkgdb.h105 #define BREAK_INSTR_SIZE 2 macro
/arch/microblaze/kernel/
Dkgdb.c90 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
/arch/h8300/kernel/
Dkgdb.c85 regs->pc += BREAK_INSTR_SIZE; in h8300_kgdb_trap()
/arch/arm64/kernel/
Dkgdb.c361 BUILD_BUG_ON(AARCH64_INSN_SIZE != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
/arch/powerpc/kernel/
Dkgdb.c148 regs->nip += BREAK_INSTR_SIZE; in kgdb_handle_breakpoint()
/arch/mips/kernel/
Dkgdb.c408 memcpy(arch_kgdb_ops.gdb_bpt_instr, insn.byte, BREAK_INSTR_SIZE); in kgdb_arch_init()