aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-nbsd-nat.c')
-rw-r--r--gdb/i386-nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-nbsd-nat.c b/gdb/i386-nbsd-nat.c
index 508abdc..bc875e0 100644
--- a/gdb/i386-nbsd-nat.c
+++ b/gdb/i386-nbsd-nat.c
@@ -76,7 +76,7 @@ static i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target;
void
_initialize_i386nbsd_nat (void)
{
- add_target (&the_i386_nbsd_nat_target);
+ add_inf_child_target (&the_i386_nbsd_nat_target);
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (i386nbsd_supply_pcb);