aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparc64-fbsd-nat.c')
-rw-r--r--gdb/sparc64-fbsd-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/sparc64-fbsd-nat.c b/gdb/sparc64-fbsd-nat.c
index 00c1ece..20c6a28 100644
--- a/gdb/sparc64-fbsd-nat.c
+++ b/gdb/sparc64-fbsd-nat.c
@@ -65,9 +65,7 @@ static sparc_target<fbsd_nat_target> the_sparc64_fbsd_nat_target;
void
_initialize_sparc64fbsd_nat (void)
{
- struct target_ops *t;
-
- add_target (&the_sparc64_fbsd_nat_target);
+ add_inf_child_target (&the_sparc64_fbsd_nat_target);
sparc_gregmap = &sparc64fbsd_gregmap;