Searched refs:BREAK_INSTR_SIZE (Results 1 – 18 of 18) sorted by relevance
/arch/arc/kernel/ |
D | kgdb.c | 94 BREAK_INSTR_SIZE); in undo_single_step() 98 BREAK_INSTR_SIZE); in undo_single_step() 106 memcpy(save, (void *) address, BREAK_INSTR_SIZE); in place_trap() 108 BREAK_INSTR_SIZE); in place_trap() 109 flush_icache_range(address, address + BREAK_INSTR_SIZE); in place_trap() 185 instruction_pointer(regs) -= BREAK_INSTR_SIZE; in kgdb_trap()
|
/arch/x86/kernel/ |
D | kgdb.c | 750 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_set_breakpoint() 755 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 759 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 770 BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 771 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 774 if (memcmp(opc, arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE)) in kgdb_arch_set_breakpoint() 785 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_remove_breakpoint() 795 text_poke((void *)bpt->bpt_addr, bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 796 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 797 if (err || memcmp(opc, bpt->saved_instr, BREAK_INSTR_SIZE)) in kgdb_arch_remove_breakpoint() [all …]
|
/arch/microblaze/include/asm/ |
D | kgdb.h | 20 #define BREAK_INSTR_SIZE 4 macro
|
/arch/hexagon/include/asm/ |
D | kgdb.h | 24 #define BREAK_INSTR_SIZE 4 macro
|
/arch/powerpc/include/asm/ |
D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/arch/sh/include/asm/ |
D | kgdb.h | 26 #define BREAK_INSTR_SIZE 2 macro
|
/arch/mn10300/include/asm/ |
D | kgdb.h | 78 #define BREAK_INSTR_SIZE 1 macro
|
/arch/mips/include/asm/ |
D | kgdb.h | 32 #define BREAK_INSTR_SIZE 4 macro
|
/arch/arm/include/asm/ |
D | kgdb.h | 34 #define BREAK_INSTR_SIZE 4 macro
|
/arch/arc/include/asm/ |
D | kgdb.h | 24 #define BREAK_INSTR_SIZE 2 macro
|
/arch/x86/include/asm/ |
D | kgdb.h | 82 #define BREAK_INSTR_SIZE 1 macro
|
/arch/sparc/include/asm/ |
D | kgdb.h | 35 #define BREAK_INSTR_SIZE 4 macro
|
/arch/blackfin/kernel/ |
D | kgdb.c | 455 if (addr >= 0x1000 && (addr + BREAK_INSTR_SIZE) <= physical_mem_end) in kgdb_validate_break_address() 457 if (IN_MEM(addr, BREAK_INSTR_SIZE, ASYNC_BANK0_BASE, ASYNC_BANK_SIZE)) in kgdb_validate_break_address() 459 if (cpu == 0 && IN_MEM(addr, BREAK_INSTR_SIZE, L1_CODE_START, L1_CODE_LENGTH)) in kgdb_validate_break_address() 462 else if (cpu == 1 && IN_MEM(addr, BREAK_INSTR_SIZE, COREB_L1_CODE_START, L1_CODE_LENGTH)) in kgdb_validate_break_address() 465 if (IN_MEM(addr, BREAK_INSTR_SIZE, L2_START, L2_LENGTH)) in kgdb_validate_break_address()
|
/arch/arm64/include/asm/ |
D | debug-monitors.h | 32 #define BREAK_INSTR_SIZE 4 macro
|
/arch/blackfin/include/asm/ |
D | kgdb.h | 105 #define BREAK_INSTR_SIZE 2 macro
|
/arch/microblaze/kernel/ |
D | kgdb.c | 88 regs->pc += BREAK_INSTR_SIZE; in microblaze_kgdb_break()
|
/arch/powerpc/kernel/ |
D | kgdb.c | 149 regs->nip += BREAK_INSTR_SIZE; in kgdb_handle_breakpoint()
|
/arch/mips/kernel/ |
D | kgdb.c | 392 memcpy(arch_kgdb_ops.gdb_bpt_instr, insn.byte, BREAK_INSTR_SIZE); in kgdb_arch_init()
|