aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-01-15 18:01:42 +0000
committerFred Fish <fnf@specifix.com>1992-01-15 18:01:42 +0000
commit7f4352410f5c942a37ebad229a84b7eadadb2c3a (patch)
treec689b50e444db20479986961c239d2abee3f1e90 /gdb
parenta5bd5ba617f30b7f5588bf1364fa2bb2658bf11b (diff)
downloadgdb-7f4352410f5c942a37ebad229a84b7eadadb2c3a.zip
gdb-7f4352410f5c942a37ebad229a84b7eadadb2c3a.tar.gz
gdb-7f4352410f5c942a37ebad229a84b7eadadb2c3a.tar.bz2
Only compile in solib_add_common_symbols for non-SVR4 (SunOS) shared libs.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/solib.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ff9b7bc..6749019 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
+
+ * solib.c (solib_add_common_symbols): Only compile in when not
+ using SVR4 style shared libraries.
+
Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
* dwarfread.c (locval): Add offreg flag to indicate location
diff --git a/gdb/solib.c b/gdb/solib.c
index e2ef628..276a5b8 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -181,6 +181,8 @@ solib_map_sections (so)
/* Read all dynamically loaded common symbol definitions from the inferior
and add them to the misc_function_vector. */
+#ifndef SVR4_SHARED_LIBS
+
static void
solib_add_common_symbols (rtc_symp)
struct rtc_symb *rtc_symp;
@@ -229,6 +231,8 @@ solib_add_common_symbols (rtc_symp)
condense_misc_bunches (1);
}
+#endif /* SVR4_SHARED_LIBS */
+
/*
LOCAL FUNCTION