aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68k-linux-nat.c')
-rw-r--r--gdb/m68k-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-linux-nat.c b/gdb/m68k-linux-nat.c
index 0b6651d..e25154c 100644
--- a/gdb/m68k-linux-nat.c
+++ b/gdb/m68k-linux-nat.c
@@ -520,5 +520,5 @@ _initialize_m68k_linux_nat (void)
{
/* Register the target. */
linux_target = &the_m68k_linux_nat_target;
- add_target (&the_m68k_linux_nat_target);
+ add_inf_child_target (&the_m68k_linux_nat_target);
}