target factories, target open and multiple instances of targets
[deliverable/binutils-gdb.git] / gdb / alpha-bsd-nat.c
index 234dac9500232a27e44f7f43793b871404f90fc7..77271ec6f73932ce089e2729e8349929c3671e37 100644 (file)
@@ -196,7 +196,7 @@ alphabsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 void
 _initialize_alphabsd_nat (void)
 {
-  add_target (&the_alpha_bsd_nat_target);
+  add_inf_child_target (&the_alpha_bsd_nat_target);
 
   /* Support debugging kernel virtual memory images.  */
   bsd_kvm_add_target (alphabsd_supply_pcb);
This page took 0.025317 seconds and 4 git commands to generate.