This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Small NetBSD/alpha tweak


Another small step towards eliminating
nbsd_xxx_solib_svr4_fetch_link_map_offsets.

Committed,

Mark

Index: ChangeLog
from  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.

Index: alphanbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alphanbsd-tdep.c,v
retrieving revision 1.28
diff -u -p -r1.28 alphanbsd-tdep.c
--- alphanbsd-tdep.c 17 Dec 2005 22:33:59 -0000 1.28
+++ alphanbsd-tdep.c 9 Jul 2006 09:18:25 -0000
@@ -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 
      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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]