target factories, target open and multiple instances of targets
[deliverable/binutils-gdb.git] / gdb / ppc-obsd-nat.c
index 974100192998446aeb0acd212802bff002559a12..781b09c7fe4a87283eee58c21a17819ed5aa00c3 100644 (file)
@@ -190,7 +190,7 @@ ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 void
 _initialize_ppcobsd_nat (void)
 {
-  add_target (&the_ppc_obsd_nat_target);
+  add_inf_child_target (&the_ppc_obsd_nat_target);
 
   /* General-purpose registers.  */
   ppcobsd_reg_offsets.r0_offset = offsetof (struct reg, gpr);
This page took 0.024143 seconds and 4 git commands to generate.