diff options
Diffstat (limited to 'gdb/riscv-fbsd-nat.c')
-rw-r--r-- | gdb/riscv-fbsd-nat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/riscv-fbsd-nat.c b/gdb/riscv-fbsd-nat.c index bc9d613..2908d9f 100644 --- a/gdb/riscv-fbsd-nat.c +++ b/gdb/riscv-fbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD/riscv. - Copyright (C) 2018-2024 Free Software Foundation, Inc. + Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -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); } |