diff options
Diffstat (limited to 'gdb/amd64-obsd-nat.c')
-rw-r--r-- | gdb/amd64-obsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-obsd-nat.c b/gdb/amd64-obsd-nat.c index d6756d9463f..0e89e3f574b 100644 --- a/gdb/amd64-obsd-nat.c +++ b/gdb/amd64-obsd-nat.c @@ -135,7 +135,7 @@ _initialize_amd64obsd_nat (void) amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64obsd32_r_reg_offset); amd64_native_gregset64_reg_offset = amd64obsd_r_reg_offset; - add_target (&the_amd64_obsd_nat_target); + add_inf_child_target (&the_amd64_obsd_nat_target); /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (amd64obsd_supply_pcb); |