/openbsd-current/sys/arch/sh/include/ |
H A D | db_machdep.h | 47 #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 D | db_break.c | 159 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 D | db_machdep.h | 50 #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 D | db_machdep.h | 53 #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 D | db_machdep.h | 52 #define BKPT_SIZE (4) /* number of bytes in bkpt inst. */ macro
|
/openbsd-current/sys/arch/mips64/include/ |
H A D | db_machdep.h | 46 #define BKPT_SIZE (4) macro
|
/openbsd-current/sys/arch/alpha/include/ |
H A D | db_machdep.h | 50 #define BKPT_SIZE sizeof(int) macro
|
/openbsd-current/sys/arch/powerpc64/include/ |
H A D | db_machdep.h | 50 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
|
/openbsd-current/sys/arch/riscv64/include/ |
H A D | db_machdep.h | 63 #define BKPT_SIZE (INSN_SIZE) macro
|
/openbsd-current/sys/arch/arm/include/ |
H A D | db_machdep.h | 56 #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 D | db_machdep.h | 50 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
|
/openbsd-current/sys/arch/arm64/include/ |
H A D | db_machdep.h | 58 #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 D | db_machdep.h | 40 #define BKPT_SIZE sizeof(int) macro
|
/openbsd-current/sys/arch/sparc64/include/ |
H A D | db_machdep.h | 96 #define BKPT_SIZE (4) /* size of breakpoint inst */ macro
|
/openbsd-current/sys/dev/dt/ |
H A D | dt_prov_kprobe.c | 262 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 D | db_trace.c | 338 return tf->tf_rip - BKPT_SIZE;
|
/openbsd-current/sys/arch/i386/i386/ |
H A D | db_trace.c | 342 return tf->tf_eip - BKPT_SIZE;
|
/openbsd-current/sys/arch/mips64/mips64/ |
H A D | db_machdep.c | 138 (fp)->pc += BKPT_SIZE;
|