Searched refs:BKPT_SIZE (Results 1 - 18 of 18) sorted by relevance

/openbsd-current/sys/arch/sh/include/
H A Ddb_machdep.h47 #define PC_ADVANCE(regs) ((regs)->tf_spc += BKPT_SIZE)
50 #define BKPT_SIZE 2 /* size of breakpoint inst */ macro
53 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_spc -= BKPT_SIZE)
/openbsd-current/sys/ddb/
H A Ddb_break.c159 db_get_value(bkpt->address, BKPT_SIZE, 0);
160 db_put_value(bkpt->address, BKPT_SIZE,
174 db_put_value(bkpt->address, BKPT_SIZE, bkpt->bkpt_inst);
207 bkpt->bkpt_inst = db_get_value(bkpt->address, BKPT_SIZE, 0);
208 db_put_value(bkpt->address, BKPT_SIZE, BKPT_SET(bkpt->bkpt_inst));
215 db_put_value(bkpt->address, BKPT_SIZE, bkpt->bkpt_inst);
/openbsd-current/sys/arch/i386/include/
H A Ddb_machdep.h50 #define BKPT_SIZE (1) /* size of breakpoint inst */ macro
56 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_eip -= BKPT_SIZE)
/openbsd-current/sys/arch/amd64/include/
H A Ddb_machdep.h53 #define BKPT_SIZE (1) /* size of breakpoint inst */ macro
59 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_rip -= BKPT_SIZE)
/openbsd-current/sys/arch/m88k/include/
H A Ddb_machdep.h52 #define BKPT_SIZE (4) /* number of bytes in bkpt inst. */ macro
/openbsd-current/sys/arch/mips64/include/
H A Ddb_machdep.h46 #define BKPT_SIZE (4) macro
/openbsd-current/sys/arch/alpha/include/
H A Ddb_machdep.h50 #define BKPT_SIZE sizeof(int) macro
/openbsd-current/sys/arch/powerpc64/include/
H A Ddb_machdep.h50 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
/openbsd-current/sys/arch/riscv64/include/
H A Ddb_machdep.h63 #define BKPT_SIZE (INSN_SIZE) macro
/openbsd-current/sys/arch/arm/include/
H A Ddb_machdep.h56 #define BKPT_SIZE (INSN_SIZE) /* size of breakpoint inst */ macro
59 /*#define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_pc -= BKPT_SIZE)*/
/openbsd-current/sys/arch/powerpc/include/
H A Ddb_machdep.h50 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
/openbsd-current/sys/arch/arm64/include/
H A Ddb_machdep.h58 #define BKPT_SIZE (INSN_SIZE) /* size of breakpoint inst */ macro
61 /*#define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_lr -= BKPT_SIZE)*/
/openbsd-current/sys/arch/hppa/include/
H A Ddb_machdep.h40 #define BKPT_SIZE sizeof(int) macro
/openbsd-current/sys/arch/sparc64/include/
H A Ddb_machdep.h96 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
/openbsd-current/sys/dev/dt/
H A Ddt_prov_kprobe.c262 db_write_bytes(dtp->dtp_addr, BKPT_SIZE, &patch);
426 db_write_bytes(dtp->dtp_addr, BKPT_SIZE, &patch);
/openbsd-current/sys/arch/amd64/amd64/
H A Ddb_trace.c338 return tf->tf_rip - BKPT_SIZE;
/openbsd-current/sys/arch/i386/i386/
H A Ddb_trace.c342 return tf->tf_eip - BKPT_SIZE;
/openbsd-current/sys/arch/mips64/mips64/
H A Ddb_machdep.c138 (fp)->pc += BKPT_SIZE;

Completed in 201 milliseconds