void _initialize_hppa_hpux_nat (void) { struct target_ops *t; set_hpux_major_release (); #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; add_target (t); }
void _initialize_hppa_hpux_nat (void) { struct target_ops *t; t = inf_ttrace_target (); super_to_wait = t->to_wait; super_xfer_partial = t->to_xfer_partial; super_mourn_inferior = t->to_mourn_inferior; t->to_wait = ia64_hpux_wait; t->to_fetch_registers = ia64_hpux_fetch_registers; t->to_store_registers = ia64_hpux_store_registers; t->to_xfer_partial = ia64_hpux_xfer_partial; t->to_can_use_hw_breakpoint = ia64_hpux_can_use_hw_breakpoint; t->to_mourn_inferior = ia64_hpux_mourn_inferior; t->to_attach_no_wait = 1; add_target (t); }