aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparc64-nbsd-nat.c')
-rw-r--r--gdb/sparc64-nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc64-nbsd-nat.c b/gdb/sparc64-nbsd-nat.c
index a0bfd81..ac760b3 100644
--- a/gdb/sparc64-nbsd-nat.c
+++ b/gdb/sparc64-nbsd-nat.c
@@ -180,7 +180,7 @@ _initialize_sparc64nbsd_nat (void)
sparc_gregset_supplies_p = sparc64nbsd_gregset_supplies_p;
sparc_fpregset_supplies_p = sparc64nbsd_fpregset_supplies_p;
- add_target (&the_sparc64_nbsd_nat_target);
+ add_inf_child_target (&the_sparc64_nbsd_nat_target);
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (sparc64nbsd_supply_pcb);