watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests
[deliverable/binutils-gdb.git] / gdb / sparc64-linux-nat.c
index 9ac1afe6dca429340c0b0afada5fcab4ec250b77..ba9397e3d994ac993f08284a80ac1569d7d8a56e 100644 (file)
@@ -91,13 +91,11 @@ fill_fpregset (const struct regcache *regcache,
 void
 _initialize_sparc64_linux_nat (void)
 {
-  target_ops *t = &the_sparc64_linux_nat_target;
-
   sparc_fpregmap = &sparc64_bsd_fpregmap;
 
   /* Register the target.  */
   linux_target = &the_sparc64_linux_nat_target;
-  add_target (t);
+  add_inf_child_target (&the_sparc64_linux_nat_target);
 
   sparc_gregmap = &sparc64_linux_ptrace_gregmap;
 }
This page took 0.022771 seconds and 4 git commands to generate.