aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sh-nbsd-nat.c')
-rw-r--r--gdb/sh-nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh-nbsd-nat.c b/gdb/sh-nbsd-nat.c
index f776e1c..6bd089e 100644
--- a/gdb/sh-nbsd-nat.c
+++ b/gdb/sh-nbsd-nat.c
@@ -99,5 +99,5 @@ sh_nbsd_nat_target::store_registers (struct regcache *regcache, int regno)
void
_initialize_shnbsd_nat (void)
{
- add_target (&the_sh_nbsd_nat_target);
+ add_inf_child_target (&the_sh_nbsd_nat_target);
}