aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
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/solib.c
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/solib.c')
-rw-r--r--gdb/solib.c4
1 files changed, 4 insertions, 0 deletions
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