aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-obsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-obsd-nat.c')
-rw-r--r--gdb/ppc-obsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-obsd-nat.c b/gdb/ppc-obsd-nat.c
index 9741001..781b09c 100644
--- a/gdb/ppc-obsd-nat.c
+++ b/gdb/ppc-obsd-nat.c
@@ -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);