From fb70ab0ca599b5fa721aad282eb33cf19cd0953b Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Mon, 19 Mar 2001 07:01:03 +0000 Subject: [PATCH] Fix solib support so that non-svr4-solib-host x svr4-solib-target will work. --- gdb/ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2191c2955cb..489ab99f385 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,26 @@ +2001-03-18 Kevin Buettner + + * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS) + (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS) + (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros. + * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out + of the Solaris procfs testing section. Instead, group with... + (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS) + (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS) + (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New tests. + * configure: Regenerate. + * config.in: Regenerate. + + * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use + new configure macros to choose which (if any) code to + compile in. Added code to explicitly handle *BSD systems; + these systems were previously handled only through macro + redefinition. Also, due to the way the autoconf tests are set + up, this function will no longer return a non-zero value when + GDB is configured as a cross debugger. I.e, cross debuggers + will no longer be able to "accidentally" get the host system's + link map offsets. + 2001-03-18 Kevin Buettner * config/i386/nbsd.mh (NATDEPFILES): List all files on the same -- 2.30.2