aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-09-28 21:58:59 +0000
committerIan Lance Taylor <ian@airs.com>1993-09-28 21:58:59 +0000
commit01f5ed6da077b188aa83504e2102fffc9469d713 (patch)
tree7691105ffbe152e996f68bdae75e7c54cbd472b5 /gdb/config
parenta1b51eb3ebbf6c82f725e093e127b2e9ee71fbfc (diff)
downloadgdb-01f5ed6da077b188aa83504e2102fffc9469d713.zip
gdb-01f5ed6da077b188aa83504e2102fffc9469d713.tar.gz
gdb-01f5ed6da077b188aa83504e2102fffc9469d713.tar.bz2
* config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
* config/tm-sysv4.h: Don't include solib.h. * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS. * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here... * config/i386/i386v4.mh (NATDEPFILES): ...to here. * config/i386/nm-i386v4.h: Include nm-sysv4.h. * config/m68k/amix.mt (TDEPFIES): Move solib.o from here... * config/m68k/amix.mh (NATDEPFILES): ...to here.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/i386v4.mt2
-rw-r--r--gdb/config/m68k/amix.mh2
-rw-r--r--gdb/config/m68k/amix.mt2
-rw-r--r--gdb/config/nm-sysv4.h6
-rw-r--r--gdb/config/tm-sysv4.h2
-rw-r--r--gdb/config/xm-sysv4.h4
6 files changed, 9 insertions, 9 deletions
diff --git a/gdb/config/i386/i386v4.mt b/gdb/config/i386/i386v4.mt
index 818bee2..89df671 100644
--- a/gdb/config/i386/i386v4.mt
+++ b/gdb/config/i386/i386v4.mt
@@ -1,3 +1,3 @@
# Target: Intel 386 running SVR4
-TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o exec.o
+TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o exec.o
TM_FILE= tm-i386v4.h
diff --git a/gdb/config/m68k/amix.mh b/gdb/config/m68k/amix.mh
index b445d43..e66d3ff 100644
--- a/gdb/config/m68k/amix.mh
+++ b/gdb/config/m68k/amix.mh
@@ -1,6 +1,6 @@
# Host: Commodore Amiga running SVR4.
NAT_FILE= nm-sysv4.h
-NATDEPFILES= corelow.o core-svr4.o procfs.o fork-child.o
+NATDEPFILES= corelow.o core-svr4.o solib.o procfs.o fork-child.o
XDEPFILES=
XM_FILE= xm-amix.h
SYSV_DEFINE=-DSYSV
diff --git a/gdb/config/m68k/amix.mt b/gdb/config/m68k/amix.mt
index 91166b9..ea92eef 100644
--- a/gdb/config/m68k/amix.mt
+++ b/gdb/config/m68k/amix.mt
@@ -1,3 +1,3 @@
# Target: Commodore Amiga running SVR4
-TDEPFILES= m68k-pinsn.o exec.o m68k-tdep.o solib.o
+TDEPFILES= m68k-pinsn.o exec.o m68k-tdep.o
TM_FILE= tm-amix.h
diff --git a/gdb/config/nm-sysv4.h b/gdb/config/nm-sysv4.h
index 4aff700..d8f5c3c 100644
--- a/gdb/config/nm-sysv4.h
+++ b/gdb/config/nm-sysv4.h
@@ -18,6 +18,12 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "solib.h" /* Support for shared libraries. */
+
+/* Use SVR4 style shared library support */
+
+#define SVR4_SHARED_LIBS
+
/* SVR4 has /proc support, so use it instead of ptrace. */
#define USE_PROC_FS
diff --git a/gdb/config/tm-sysv4.h b/gdb/config/tm-sysv4.h
index f63d174..18c88ef 100644
--- a/gdb/config/tm-sysv4.h
+++ b/gdb/config/tm-sysv4.h
@@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "solib.h" /* Support for shared libraries. */
-
/* For SVR4 shared libraries, each call to a library routine goes through
a small piece of trampoline code in the ".init" section. Although each
of these fragments is labeled with the name of the routine being called,
diff --git a/gdb/config/xm-sysv4.h b/gdb/config/xm-sysv4.h
index 6ce3bc0..9c97646 100644
--- a/gdb/config/xm-sysv4.h
+++ b/gdb/config/xm-sysv4.h
@@ -18,10 +18,6 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* Use SVR4 style shared library support */
-
-#define SVR4_SHARED_LIBS
-
/* SVR4 has termios facilities. */
#undef HAVE_TERMIO