target factories, target open and multiple instances of targets
[deliverable/binutils-gdb.git] / gdb / m68k-bsd-nat.c
index 379924815b90bc8f0fced3bdee47795e10291b20..af907adb78a1be10fb9b744b12d6634d756e1447 100644 (file)
@@ -225,7 +225,7 @@ m68kbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 void
 _initialize_m68kbsd_nat (void)
 {
-  add_target (&the_m68k_bsd_nat_target);
+  add_inf_child_target (&the_m68k_bsd_nat_target);
 
   /* Support debugging kernel virtual memory images.  */
   bsd_kvm_add_target (m68kbsd_supply_pcb);
This page took 0.024296 seconds and 4 git commands to generate.