aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-03-19 07:01:03 +0000
committerKevin Buettner <kevinb@redhat.com>2001-03-19 07:01:03 +0000
commitfb70ab0ca599b5fa721aad282eb33cf19cd0953b (patch)
tree6a71ccbb34142546f05b2c9c7650c0a9ee5335e8
parentd45fe813da000d2d7dc3fdf115b9a679e5042d93 (diff)
downloadgdb-fb70ab0ca599b5fa721aad282eb33cf19cd0953b.zip
gdb-fb70ab0ca599b5fa721aad282eb33cf19cd0953b.tar.gz
gdb-fb70ab0ca599b5fa721aad282eb33cf19cd0953b.tar.bz2
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.
-rw-r--r--gdb/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2191c29..489ab99 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,28 @@
2001-03-18 Kevin Buettner <kevinb@redhat.com>
+ * 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 <link.h> 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 <kevinb@redhat.com>
+
* config/i386/nbsd.mh (NATDEPFILES): List all files on the same
line to avoid build problem on NetBSD 1.4.