Lines Matching refs:BREAK_INSTR_SIZE
754 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()
804 (char *)bpt->saved_instr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()