/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | kgdb.h | 20 #define BREAK_INSTR_SIZE 4 arch_kgdb_breakpoint() macro
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | kgdb.h | 26 #define BREAK_INSTR_SIZE 2 macro
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | kgdb.c | 94 BREAK_INSTR_SIZE); undo_single_step() 98 BREAK_INSTR_SIZE); undo_single_step() 106 memcpy(save, (void *) address, BREAK_INSTR_SIZE); place_trap() 108 BREAK_INSTR_SIZE); place_trap() 109 flush_icache_range(address, address + BREAK_INSTR_SIZE); place_trap() 180 instruction_pointer(regs) -= BREAK_INSTR_SIZE; kgdb_trap()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | kgdb.h | 38 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | kgdb.c | 303 BREAK_INSTR_SIZE); do_single_step() 307 BREAK_INSTR_SIZE); do_single_step() 309 flush_icache_range(stepped_addr, stepped_addr + BREAK_INSTR_SIZE); do_single_step() 321 BREAK_INSTR_SIZE); undo_single_step() 324 flush_icache_range(stepped_addr, stepped_addr + BREAK_INSTR_SIZE); undo_single_step() 417 regs->pc += BREAK_INSTR_SIZE; kgdb_arch_handle_exception() 445 memcpy(arch_kgdb_ops.gdb_bpt_instr, &bundle, BREAK_INSTR_SIZE); kgdb_arch_init() 469 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 474 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 477 (unsigned long)bpt->bpt_addr + BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 490 BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint() 493 (unsigned long)bpt->bpt_addr + BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | kgdb.h | 32 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | kgdb.c | 749 char opc[BREAK_INSTR_SIZE]; kgdb_arch_set_breakpoint() 754 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 758 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 769 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 770 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 773 if (memcmp(opc, arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE)) kgdb_arch_set_breakpoint() 784 char opc[BREAK_INSTR_SIZE]; kgdb_arch_remove_breakpoint() 794 text_poke((void *)bpt->bpt_addr, bpt->saved_instr, BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint() 795 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint() 796 if (err || memcmp(opc, bpt->saved_instr, BREAK_INSTR_SIZE)) kgdb_arch_remove_breakpoint() 802 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | kgdb.h | 44 #define BREAK_INSTR_SIZE TILEGX_BUNDLE_SIZE_IN_BYTES macro
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | kgdb.h | 82 #define BREAK_INSTR_SIZE 1 macro
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | kgdb.h | 78 #define BREAK_INSTR_SIZE 1 macro
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | kgdb.h | 87 #define BREAK_INSTR_SIZE 4 arch_kgdb_breakpoint() macro
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | kgdb.h | 26 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | kgdb.h | 24 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | kgdb.h | 24 #define BREAK_INSTR_SIZE 2 macro
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | kgdb.c | 439 if (addr >= 0x1000 && (addr + BREAK_INSTR_SIZE) <= physical_mem_end) kgdb_validate_break_address() 441 if (IN_MEM(addr, BREAK_INSTR_SIZE, ASYNC_BANK0_BASE, ASYNC_BANK_SIZE)) kgdb_validate_break_address() 443 if (cpu == 0 && IN_MEM(addr, BREAK_INSTR_SIZE, L1_CODE_START, L1_CODE_LENGTH)) kgdb_validate_break_address() 446 else if (cpu == 1 && IN_MEM(addr, BREAK_INSTR_SIZE, COREB_L1_CODE_START, L1_CODE_LENGTH)) kgdb_validate_break_address() 449 if (IN_MEM(addr, BREAK_INSTR_SIZE, L2_START, L2_LENGTH)) kgdb_validate_break_address()
|
/linux-4.1.27/drivers/misc/ |
H A D | kgdbts.c | 240 BREAK_INSTR_SIZE); break_helper() 317 if (addr + BREAK_INSTR_SIZE == ip) check_and_rewind_pc() 318 offset = -BREAK_INSTR_SIZE; check_and_rewind_pc() 497 sstep_addr = cont_addr + BREAK_INSTR_SIZE; emul_sstep_put() 834 char before[BREAK_INSTR_SIZE]; run_plant_and_detach_test() 835 char after[BREAK_INSTR_SIZE]; run_plant_and_detach_test() 838 BREAK_INSTR_SIZE); run_plant_and_detach_test() 846 BREAK_INSTR_SIZE); run_plant_and_detach_test() 847 if (memcmp(before, after, BREAK_INSTR_SIZE)) { run_plant_and_detach_test()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | kgdb.c | 90 regs->pc += BREAK_INSTR_SIZE; microblaze_kgdb_break()
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | debug-monitors.h | 41 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | kgdb.h | 105 #define BREAK_INSTR_SIZE 2 macro
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | kgdb.h | 35 #define BREAK_INSTR_SIZE 4 macro
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | kgdb.c | 255 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 258 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint()
|
/linux-4.1.27/kernel/debug/ |
H A D | debug_core.c | 173 BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 177 arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE); kgdb_arch_set_breakpoint() 184 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); kgdb_arch_remove_breakpoint() 238 addr, addr + BREAK_INSTR_SIZE); kgdb_flush_swbreak_addr() 243 flush_icache_range(addr, addr + BREAK_INSTR_SIZE); kgdb_flush_swbreak_addr()
|
/linux-4.1.27/include/linux/ |
H A D | kgdb.h | 78 unsigned char saved_instr[BREAK_INSTR_SIZE]; 245 unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | kgdb.c | 393 memcpy(arch_kgdb_ops.gdb_bpt_instr, insn.byte, BREAK_INSTR_SIZE); kgdb_arch_init()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | kgdb.c | 148 regs->nip += BREAK_INSTR_SIZE; kgdb_handle_breakpoint()
|