aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hppa-nbsd-nat.c')
-rw-r--r--gdb/hppa-nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-nbsd-nat.c b/gdb/hppa-nbsd-nat.c
index 1497166..3547d65 100644
--- a/gdb/hppa-nbsd-nat.c
+++ b/gdb/hppa-nbsd-nat.c
@@ -231,5 +231,5 @@ hppa_nbsd_nat_target::store_registers (struct regcache *regcache, int regnum)
void
_initialize_hppanbsd_nat (void)
{
- add_target (&the_hppa_nbsd_nat_target);
+ add_inf_child_target (&the_hppa_nbsd_nat_target);
}