Home
last modified time | relevance | path

Searched refs:r_pc (Results 1 – 25 of 58) sorted by relevance

123

/netbsd/external/cddl/osnet/dev/dtrace/amd64/
H A Ddtrace_subr.c176 if (rp->r_pc < t->t_dtrace_scrpc || in dtrace_safe_synchronous_signal()
177 rp->r_pc > t->t_dtrace_astpc + isz) { in dtrace_safe_synchronous_signal()
179 } else if (rp->r_pc == t->t_dtrace_scrpc || in dtrace_safe_synchronous_signal()
180 rp->r_pc == t->t_dtrace_astpc) { in dtrace_safe_synchronous_signal()
181 rp->r_pc = t->t_dtrace_pc; in dtrace_safe_synchronous_signal()
199 if (rp->r_pc < t->t_dtrace_scrpc || in dtrace_safe_defer_signal()
200 rp->r_pc > t->t_dtrace_astpc + isz) { in dtrace_safe_defer_signal()
213 if (rp->r_pc >= t->t_dtrace_scrpc + isz && in dtrace_safe_defer_signal()
214 rp->r_pc < t->t_dtrace_astpc) { in dtrace_safe_defer_signal()
239 rp->r_pc = t->t_dtrace_npc; in dtrace_safe_defer_signal()
[all …]
/netbsd/external/cddl/osnet/dev/dtrace/i386/
H A Ddtrace_subr.c184 if (rp->r_pc < t->t_dtrace_scrpc || in dtrace_safe_synchronous_signal()
185 rp->r_pc > t->t_dtrace_astpc + isz) { in dtrace_safe_synchronous_signal()
187 } else if (rp->r_pc == t->t_dtrace_scrpc || in dtrace_safe_synchronous_signal()
188 rp->r_pc == t->t_dtrace_astpc) { in dtrace_safe_synchronous_signal()
189 rp->r_pc = t->t_dtrace_pc; in dtrace_safe_synchronous_signal()
207 if (rp->r_pc < t->t_dtrace_scrpc || in dtrace_safe_defer_signal()
208 rp->r_pc > t->t_dtrace_astpc + isz) { in dtrace_safe_defer_signal()
221 if (rp->r_pc >= t->t_dtrace_scrpc + isz && in dtrace_safe_defer_signal()
222 rp->r_pc < t->t_dtrace_astpc) { in dtrace_safe_defer_signal()
247 rp->r_pc = t->t_dtrace_npc; in dtrace_safe_defer_signal()
[all …]
/netbsd/external/gpl3/gdb/dist/sim/m32c/
H A Dload.c118 regs.r_pc = mem_get_si (0x000ffffc) & membus_mask; in m32c_load()
120 regs.r_pc = mem_get_si (0x000fffc) & membus_mask; in m32c_load()
123 regs.r_pc = mem_get_si (0x00fffffc) & membus_mask; in m32c_load()
128 regs.r_pc = prog->start_address; in m32c_load()
130 fprintf (stderr, "[start pc=%08x]\n", (unsigned int) regs.r_pc); in m32c_load()
H A Dmem.c311 printf ("SimTrace: %06lx %02x\n", regs.r_pc, value); in mem_put_byte()
315 printf ("SimTrap: %06lx %02x\n", regs.r_pc, value); in mem_put_byte()
334 printf ("SimTrace: %06lx %04x\n", regs.r_pc, value); in mem_put_hi()
381 unsigned char *m = mem_ptr (regs.r_pc & membus_mask); in mem_get_pc()
H A Dreg.c184 return regs.r_pc & membus_mask; in get_reg_i()
312 printf ("collision: pc %08lx heap %08x stack %08lx\n", regs.r_pc, in put_reg()
330 regs.r_pc = v & membus_mask; in put_reg()
634 TRC (r_pc, "pc", pc); in trace_register_changes()
675 DRC (r_pc, "pc", pc); in m32c_dump_all_registers()
/netbsd/external/gpl3/gdb.old/dist/sim/m32c/
H A Dload.c118 regs.r_pc = mem_get_si (0x000ffffc) & membus_mask; in m32c_load()
120 regs.r_pc = mem_get_si (0x000fffc) & membus_mask; in m32c_load()
123 regs.r_pc = mem_get_si (0x00fffffc) & membus_mask; in m32c_load()
128 regs.r_pc = prog->start_address; in m32c_load()
130 fprintf (stderr, "[start pc=%08x]\n", (unsigned int) regs.r_pc); in m32c_load()
H A Dmem.c311 printf ("SimTrace: %06lx %02x\n", regs.r_pc, value); in mem_put_byte()
315 printf ("SimTrap: %06lx %02x\n", regs.r_pc, value); in mem_put_byte()
334 printf ("SimTrace: %06lx %04x\n", regs.r_pc, value); in mem_put_hi()
381 unsigned char *m = mem_ptr (regs.r_pc & membus_mask); in mem_get_pc()
H A Dreg.c184 return regs.r_pc & membus_mask; in get_reg_i()
312 printf ("collision: pc %08lx heap %08x stack %08lx\n", regs.r_pc, in put_reg()
330 regs.r_pc = v & membus_mask; in put_reg()
634 TRC (r_pc, "pc", pc); in trace_register_changes()
675 DRC (r_pc, "pc", pc); in m32c_dump_all_registers()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Darm-nbsd-nat.c254 regcache->raw_collect (ARM_PC_REGNUM, (char *) &regs.r_pc); in store_register()
262 regs.r_pc ^= gdbarch_addr_bits_remove (gdbarch, regs.r_pc); in store_register()
263 regs.r_pc |= pc_val; in store_register()
277 regs.r_pc = gdbarch_addr_bits_remove (gdbarch, regs.r_pc); in store_register()
278 regs.r_pc |= psr_val; in store_register()
312 regcache->raw_collect (ARM_PC_REGNUM, (char *) &regs.r_pc); in store_regs()
326 regs.r_pc = pc_val | psr_val; in store_regs()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Darm-nbsd-nat.c254 regcache->raw_collect (ARM_PC_REGNUM, (char *) &regs.r_pc); in store_register()
262 regs.r_pc ^= gdbarch_addr_bits_remove (gdbarch, regs.r_pc); in store_register()
263 regs.r_pc |= pc_val; in store_register()
277 regs.r_pc = gdbarch_addr_bits_remove (gdbarch, regs.r_pc); in store_register()
278 regs.r_pc |= psr_val; in store_register()
312 regcache->raw_collect (ARM_PC_REGNUM, (char *) &regs.r_pc); in store_regs()
326 regs.r_pc = pc_val | psr_val; in store_regs()
/netbsd/external/gpl3/gdb/dist/sim/rx/
H A Dload.c167 regs.r_pc = prog->start_address; in rx_load()
170 || regs.r_pc == 0) in rx_load()
172 regs.r_pc = mem_get_si (0xfffffffc); in rx_load()
180 (unsigned int) regs.r_pc, in rx_load()
H A Drx.c892 regs.r_pc = new_pc; in generate_exception()
964 opcode_pc = regs.r_pc; in decode_opcode()
985 if ((regs.r_pc ^ (regs.r_pc + opcode_size - 1)) & ~7) in decode_opcode()
1071 SI old_pc = regs.r_pc; in decode_opcode()
1074 regs.r_pc = GD(); in decode_opcode()
1140 pushpc (regs.r_pc); in decode_opcode()
1303 pushpc (regs.r_pc); in decode_opcode()
1333 v += regs.r_pc; in decode_opcode()
1335 delta = v - regs.r_pc; in decode_opcode()
1535 regs.r_pc = opcode_pc; in decode_opcode()
[all …]
/netbsd/sys/arch/arm/arm/
H A Dprocess_machdep.c160 regs->r_pc = tf->tf_pc; in process_read_regs()
167 regs->r_pc |= 1; in process_read_regs()
198 tf->tf_pc = regs->r_pc; in process_write_regs()
202 if ((regs->r_pc & 1) || (regs->r_cpsr & PSR_T_bit)) in process_write_regs()
/netbsd/external/gpl3/gdb.old/dist/sim/rx/
H A Dload.c167 regs.r_pc = prog->start_address; in rx_load()
170 || regs.r_pc == 0) in rx_load()
172 regs.r_pc = mem_get_si (0xfffffffc); in rx_load()
180 (unsigned int) regs.r_pc, in rx_load()
H A Drx.c892 regs.r_pc = new_pc; in generate_exception()
964 opcode_pc = regs.r_pc; in decode_opcode()
985 if ((regs.r_pc ^ (regs.r_pc + opcode_size - 1)) & ~7) in decode_opcode()
1071 SI old_pc = regs.r_pc; in decode_opcode()
1074 regs.r_pc = GD(); in decode_opcode()
1140 pushpc (regs.r_pc); in decode_opcode()
1303 pushpc (regs.r_pc); in decode_opcode()
1333 v += regs.r_pc; in decode_opcode()
1335 delta = v - regs.r_pc; in decode_opcode()
1535 regs.r_pc = opcode_pc; in decode_opcode()
[all …]
/netbsd/sys/arch/riscv/include/
H A Dreg.h51 __uint64_t r_pc; member
54 __uint32_t r_pc;
61 __uint32_t r_pc; member
H A Dptrace.h51 #define PTRACE_REG_PC(r) (r)->r_pc
53 #define PTRACE_REG_SET_PC(r, v) (r)->r_pc = (v)
/netbsd/sys/arch/sparc64/sparc64/
H A Dprocess_machdep.c123 regs->r_pc = tf->tf_pc; in process_read_regs()
135 regp->r_pc = tf->tf_pc; in process_read_regs()
156 tf->tf_pc = regs->r_pc; in process_write_regs()
170 tf->tf_pc = regp->r_pc; in process_write_regs()
/netbsd/sys/arch/m68k/m68k/
H A Dprocess_machdep.c93 regs->r_pc = frame->f_pc; in process_read_regs()
119 if (regs->r_pc & 1) in process_write_regs()
134 frame->f_pc = regs->r_pc; in process_write_regs()
/netbsd/sys/arch/m68k/include/
H A Dptrace.h56 #define PTRACE_REG_PC(r) (r)->r_pc
58 #define PTRACE_REG_SET_PC(r, v) (r)->r_pc = (v)
/netbsd/sys/arch/sparc/include/
H A Dptrace.h58 #define PTRACE_REG_PC(r) ((unsigned long int)(r)->r_pc)
61 (r)->r_pc = (v); \
/netbsd/sys/arch/arm/include/
H A Dptrace.h66 #define PTRACE_REG_PC(_r) (_r)->r_pc
68 #define PTRACE_REG_SET_PC(_r, _v) (_r)->r_pc = (_v)
/netbsd/sys/arch/aarch64/include/
H A Dptrace.h59 #define PTRACE_REG_PC(r) (r)->r_pc
61 #define PTRACE_REG_SET_PC(r, v) (r)->r_pc = (v)
/netbsd/sys/arch/aarch64/aarch64/
H A Dprocess_machdep.c59 || (regs->r_pc & 3) || regs->r_pc >= VM_MAXUSER_ADDRESS) in process_write_regs()
/netbsd/sys/arch/sparc64/include/
H A Dreg.h144 int r_pc; /* return pc */ member
153 int64_t r_pc; /* return pc */ member

123