diff options
Diffstat (limited to 'gdb/amd64-netbsd-nat.c')
-rw-r--r-- | gdb/amd64-netbsd-nat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/amd64-netbsd-nat.c b/gdb/amd64-netbsd-nat.c index 8bd3e12..c960b3c 100644 --- a/gdb/amd64-netbsd-nat.c +++ b/gdb/amd64-netbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for NetBSD/amd64. - Copyright (C) 2003-2024 Free Software Foundation, Inc. + Copyright (C) 2003-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -55,9 +55,7 @@ static int amd64nbsd32_r_reg_offset[] = static amd64_bsd_nat_target<nbsd_nat_target> the_amd64_nbsd_nat_target; -void _initialize_amd64nbsd_nat (); -void -_initialize_amd64nbsd_nat () +INIT_GDB_FILE (amd64nbsd_nat) { amd64_native_gregset32_reg_offset = amd64nbsd32_r_reg_offset; amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64nbsd32_r_reg_offset); |