Convert struct target_ops to C++
[deliverable/binutils-gdb.git] / gdb / i386-obsd-nat.c
index bc3a2edde68f555e39c10ebc132ed8d42b379a51..2a09f3e0d635df44cea189384ab9051301b024b1 100644 (file)
@@ -88,11 +88,12 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   return 1;
 }
 
+static i386_bsd_nat_target<obsd_nat_target> the_i386_obsd_nat_target;
+
 void
 _initialize_i386obsd_nat (void)
 {
-  /* Add some extra features to the common *BSD/i386 target.  */
-  obsd_add_target (i386bsd_target ());
+  add_target (&i386_obsd_nat_target);
 
   /* Support debugging kernel virtual memory images.  */
   bsd_kvm_add_target (i386obsd_supply_pcb);
This page took 0.030717 seconds and 4 git commands to generate.