* alphanbsd-tdep.c (alphanbsd_init_abi): Use
authorMark Kettenis <kettenis@gnu.org>
Sun, 9 Jul 2006 09:21:19 +0000 (09:21 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 9 Jul 2006 09:21:19 +0000 (09:21 +0000)
svr4_lp64_fetch_link_map_offsets instead of
nbsd_lp64_solib_svr4_fetch_link_map_offsets.

gdb/ChangeLog
gdb/alphanbsd-tdep.c

index 7e4dab3fb5931590e8d732a8ca8a8dcba37b3b49..d199f087a39c544661389751b3d2f3a3086e0e59 100644 (file)
@@ -1,3 +1,9 @@
+2006-07-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphanbsd-tdep.c (alphanbsd_init_abi): Use
+       svr4_lp64_fetch_link_map_offsets instead of
+       nbsd_lp64_solib_svr4_fetch_link_map_offsets.
+
 2006-07-06  Andrew Stubbs  <andrew.stubbs@st.com>
 
        * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
index 1f814121d9ec15b13daf1871fba1071321ca3cbc..a136fc1aa84660961253cf5d4f82f2865213d9b8 100644 (file)
@@ -1,6 +1,7 @@
-/* Target-dependent code for NetBSD/Alpha.
+/* Target-dependent code for NetBSD/alpha.
+
+   Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
 
-   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    Contributed by Wasabi Systems, Inc.
 
    This file is part of GDB.
@@ -210,8 +211,9 @@ alphanbsd_init_abi (struct gdbarch_info info,
      must use software single-stepping.  */
   set_gdbarch_software_single_step (gdbarch, alpha_software_single_step);
 
-  set_solib_svr4_fetch_link_map_offsets (gdbarch,
-                                 nbsd_lp64_solib_svr4_fetch_link_map_offsets);
+  /* NetBSD/alpha has SVR4-style shared libraries.  */
+  set_solib_svr4_fetch_link_map_offsets
+    (gdbarch, svr4_lp64_fetch_link_map_offsets);
 
   tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset;
   tdep->pc_in_sigtramp = alphanbsd_pc_in_sigtramp;