aboutsummaryrefslogtreecommitdiff
path: root/gdb/riscv-fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/riscv-fbsd-nat.c')
-rw-r--r--gdb/riscv-fbsd-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/riscv-fbsd-nat.c b/gdb/riscv-fbsd-nat.c
index df7cc6a..2908d9f 100644
--- a/gdb/riscv-fbsd-nat.c
+++ b/gdb/riscv-fbsd-nat.c
@@ -65,9 +65,7 @@ riscv_fbsd_nat_target::store_registers (struct regcache *regcache,
PT_SETFPREGS, &riscv_fbsd_fpregset);
}
-void _initialize_riscv_fbsd_nat ();
-void
-_initialize_riscv_fbsd_nat ()
+INIT_GDB_FILE (riscv_fbsd_nat)
{
add_inf_child_target (&the_riscv_fbsd_nat_target);
}