aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-fbsd-nat.c')
-rw-r--r--gdb/ppc-fbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-fbsd-nat.c b/gdb/ppc-fbsd-nat.c
index 501514f..6ca4bba 100644
--- a/gdb/ppc-fbsd-nat.c
+++ b/gdb/ppc-fbsd-nat.c
@@ -204,7 +204,7 @@ ppcfbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
void
_initialize_ppcfbsd_nat (void)
{
- add_target (&the_ppc_fbsd_nat_target);
+ add_inf_child_target (&the_ppc_fbsd_nat_target);
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (ppcfbsd_supply_pcb);