From: Kevin Buettner Date: Mon, 19 Mar 2001 07:01:03 +0000 (+0000) Subject: Fix solib support so that non-svr4-solib-host x svr4-solib-target will work. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb70ab0ca599b5fa721aad282eb33cf19cd0953b;p=binutils-gdb.git Fix solib support so that non-svr4-solib-host x svr4-solib-target will work. --- 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