]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/hppa-linux-nat.c
target factories, target open and multiple instances of targets
[thirdparty/binutils-gdb.git] / gdb / hppa-linux-nat.c
index 708eff0447a46016aaa1aca44b2ed122c49fd8a3..bc6c234d513773f767d841bc35e36f8542321dc5 100644 (file)
@@ -391,5 +391,5 @@ _initialize_hppa_linux_nat (void)
 {
   /* Register the target.  */
   linux_target = &the_hppa_linux_nat_target;
-  add_target (&the_hppa_linux_nat_target);
+  add_inf_child_target (&the_hppa_linux_nat_target);
 }