return 1;
}
+static i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target;
+
void
_initialize_i386nbsd_nat (void)
{
- struct target_ops *t;
+ add_target (&the_i386_nbsd_nat_target);
- /* Add some extra features to the common *BSD/i386 target. */
- t = i386bsd_target ();
- t->to_pid_to_exec_file = nbsd_pid_to_exec_file;
- add_target (t);
-
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (i386nbsd_supply_pcb);
}