aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64-nbsd-nat.c')
-rw-r--r--gdb/amd64-nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-nbsd-nat.c b/gdb/amd64-nbsd-nat.c
index e1c07df..f92983b 100644
--- a/gdb/amd64-nbsd-nat.c
+++ b/gdb/amd64-nbsd-nat.c
@@ -63,5 +63,5 @@ _initialize_amd64nbsd_nat (void)
amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64nbsd32_r_reg_offset);
amd64_native_gregset64_reg_offset = amd64nbsd_r_reg_offset;
- add_target (&the_amd64_nbsd_nat_target);
+ add_inf_child_target (&the_amd64_nbsd_nat_target);
}