void _initialize_ppcobsd_nat (void) { struct target_ops *t; /* Add in local overrides. */ t = inf_ptrace_target (); t->to_fetch_registers = ppcobsd_fetch_registers; t->to_store_registers = ppcobsd_store_registers; add_target (t); /* General-purpose registers. */ ppcobsd_reg_offsets.r0_offset = offsetof (struct reg, gpr); ppcobsd_reg_offsets.pc_offset = offsetof (struct reg, pc); ppcobsd_reg_offsets.ps_offset = offsetof (struct reg, ps); ppcobsd_reg_offsets.cr_offset = offsetof (struct reg, cnd); ppcobsd_reg_offsets.lr_offset = offsetof (struct reg, lr); ppcobsd_reg_offsets.ctr_offset = offsetof (struct reg, cnt); ppcobsd_reg_offsets.xer_offset = offsetof (struct reg, xer); ppcobsd_reg_offsets.mq_offset = offsetof (struct reg, mq); /* Floating-point registers. */ ppcobsd_reg_offsets.f0_offset = offsetof (struct reg, fpr); ppcobsd_reg_offsets.fpscr_offset = -1; /* AltiVec registers. */ ppcobsd_reg_offsets.vr0_offset = offsetof (struct vreg, vreg); ppcobsd_reg_offsets.vscr_offset = offsetof (struct vreg, vscr); ppcobsd_reg_offsets.vrsave_offset = offsetof (struct vreg, vrsave); /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (ppcobsd_supply_pcb); }
void _initialize_shnbsd_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = shnbsd_fetch_inferior_registers; t->to_store_registers = shnbsd_store_inferior_registers; add_target (t); }
struct target_ops * i386bsd_target (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = i386bsd_fetch_inferior_registers; t->to_store_registers = i386bsd_store_inferior_registers; return t; }
void _initialize_hppaobsd_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = hppaobsd_fetch_registers; t->to_store_registers = hppaobsd_store_registers; obsd_add_target (t); }
void _initialize_hppabsd_nat (void) { struct target_ops *t; /* Add in local overrides. */ t = inf_ptrace_target (); t->to_fetch_registers = hppabsd_fetch_registers; t->to_store_registers = hppabsd_store_registers; add_target (t); }
struct target_ops * sparc_target (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = sparc_fetch_inferior_registers; t->to_store_registers = sparc_store_inferior_registers; inf_ptrace_xfer_partial = t->to_xfer_partial; t->to_xfer_partial = sparc_xfer_partial; return t; }
struct target_ops * inf_ptrace_trad_target (CORE_ADDR (*register_u_offset)(int)) { struct target_ops *t = inf_ptrace_target(); gdb_assert (register_u_offset); inf_ptrace_register_u_offset = register_u_offset; t->to_fetch_registers = inf_ptrace_fetch_registers; t->to_store_registers = inf_ptrace_store_registers; return t; }
void _initialize_m68kbsd_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = m68kbsd_fetch_inferior_registers; t->to_store_registers = m68kbsd_store_inferior_registers; add_target (t); /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (m68kbsd_supply_pcb); }
void _initialize_arm_netbsd_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = armnbsd_fetch_registers; t->to_store_registers = armnbsd_store_registers; add_target (t); deprecated_add_core_fns (&arm_netbsd_core_fns); deprecated_add_core_fns (&arm_netbsd_elfcore_fns); }
void _initialize_ppcnbsd_nat (void) { struct target_ops *t; /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (ppcnbsd_supply_pcb); /* Add in local overrides. */ t = inf_ptrace_target (); t->to_fetch_registers = ppcnbsd_fetch_inferior_registers; t->to_store_registers = ppcnbsd_store_inferior_registers; add_target (t); }
void _initialize_vaxbsd_nat (void) { struct target_ops *t; /* Add some extra features to the common *BSD/vax target. */ t = inf_ptrace_target (); t->to_fetch_registers = vaxbsd_fetch_inferior_registers; t->to_store_registers = vaxbsd_store_inferior_registers; t->to_pid_to_exec_file = nbsd_pid_to_exec_file; add_target (t); /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (vaxbsd_supply_pcb); }
void _initialize_hppanbsd_nat (void) { struct target_ops *t; /* Add some extra features to the ptrace target. */ t = inf_ptrace_target (); t->to_fetch_registers = hppanbsd_fetch_registers; t->to_store_registers = hppanbsd_store_registers; t->to_pid_to_exec_file = nbsd_pid_to_exec_file; add_target (t); }
void _initialize_hppa_hpux_nat (void) { struct target_ops *t; #ifdef HAVE_TTRACE t = inf_ttrace_target (); #else t = inf_ptrace_target (); #endif t->to_fetch_registers = hppa_hpux_fetch_inferior_registers; t->to_store_registers = hppa_hpux_store_inferior_registers; t->to_can_run = hppa_hpux_child_can_run; add_target (t); }
void _initialize_rs6000_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = rs6000_fetch_inferior_registers; t->to_store_registers = rs6000_store_inferior_registers; t->to_xfer_partial = rs6000_xfer_partial; super_create_inferior = t->to_create_inferior; t->to_create_inferior = rs6000_create_inferior; t->to_wait = rs6000_wait; add_target (t); }
void _initialize_arm_netbsd_nat (void) { struct target_ops *t; t = inf_ptrace_target (); t->to_fetch_registers = armnbsd_fetch_registers; t->to_store_registers = armnbsd_store_registers; t->to_pid_to_exec_file = nbsd_pid_to_exec_file; add_target (t); /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (armnbsd_supply_pcb); deprecated_add_core_fns (&arm_netbsd_core_fns); deprecated_add_core_fns (&arm_netbsd_elfcore_fns); }