- t = linux_trad_target (mips_linux_register_u_offset);
-
- super_close = t->to_close;
- t->to_close = mips_linux_close;
-
- super_fetch_registers = t->to_fetch_registers;
- super_store_registers = t->to_store_registers;
-
- t->to_fetch_registers = mips64_linux_fetch_registers;
- t->to_store_registers = mips64_linux_store_registers;
-
- t->to_can_use_hw_breakpoint = mips_linux_can_use_hw_breakpoint;
- t->to_remove_watchpoint = mips_linux_remove_watchpoint;
- t->to_insert_watchpoint = mips_linux_insert_watchpoint;
- t->to_stopped_by_watchpoint = mips_linux_stopped_by_watchpoint;
- t->to_stopped_data_address = mips_linux_stopped_data_address;
- t->to_region_ok_for_hw_watchpoint = mips_linux_region_ok_for_hw_watchpoint;
-
- t->to_read_description = mips_linux_read_description;
-
- linux_nat_add_target (t);
- linux_nat_set_new_thread (t, mips_linux_new_thread);
-
- /* Initialize the standard target descriptions. */
- initialize_tdesc_mips_linux ();
- initialize_tdesc_mips_dsp_linux ();
- initialize_tdesc_mips64_linux ();
- initialize_tdesc_mips64_dsp_linux ();