aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-obsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-obsd-nat.c')
-rw-r--r--gdb/i386-obsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-obsd-nat.c b/gdb/i386-obsd-nat.c
index 2a09f3e..a3221ed 100644
--- a/gdb/i386-obsd-nat.c
+++ b/gdb/i386-obsd-nat.c
@@ -93,7 +93,7 @@ static i386_bsd_nat_target<obsd_nat_target> the_i386_obsd_nat_target;
void
_initialize_i386obsd_nat (void)
{
- add_target (&i386_obsd_nat_target);
+ add_inf_child_target (&i386_obsd_nat_target);
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (i386obsd_supply_pcb);