diff options
Diffstat (limited to 'gdb/alpha-netbsd-tdep.c')
-rw-r--r-- | gdb/alpha-netbsd-tdep.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/alpha-netbsd-tdep.c b/gdb/alpha-netbsd-tdep.c index f3cd62b..0f5e305 100644 --- a/gdb/alpha-netbsd-tdep.c +++ b/gdb/alpha-netbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for NetBSD/alpha. - Copyright (C) 2002-2024 Free Software Foundation, Inc. + Copyright (C) 2002-2025 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. @@ -264,8 +264,7 @@ alphanbsd_init_abi (struct gdbarch_info info, set_gdbarch_software_single_step (gdbarch, alpha_software_single_step); /* NetBSD/alpha has SVR4-style shared libraries. */ - set_solib_svr4_fetch_link_map_offsets - (gdbarch, svr4_lp64_fetch_link_map_offsets); + set_solib_svr4_ops (gdbarch, make_svr4_lp64_solib_ops); tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset; tdep->pc_in_sigtramp = alphanbsd_pc_in_sigtramp; @@ -279,9 +278,7 @@ alphanbsd_init_abi (struct gdbarch_info info, } -void _initialize_alphanbsd_tdep (); -void -_initialize_alphanbsd_tdep () +INIT_GDB_FILE (alphanbsd_tdep) { /* Even though NetBSD/alpha used ELF since day one, it used the traditional a.out-style core dump format before NetBSD 1.6, but |