aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-06 09:27:57 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-06 09:27:57 +0000
commit5c820c1937d12a81a056533e540b682e7a7b528d (patch)
tree072d68e9bda9054030d29c3aa38e13694eab5df9 /gdb/config
parent94603999f966820f5264e98e530cb59c38597963 (diff)
downloadgdb-5c820c1937d12a81a056533e540b682e7a7b528d.zip
gdb-5c820c1937d12a81a056533e540b682e7a7b528d.tar.gz
gdb-5c820c1937d12a81a056533e540b682e7a7b528d.tar.bz2
* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/.Sanitize2
-rw-r--r--gdb/config/i386sol2.mh31
-rw-r--r--gdb/config/i386sol2.mt3
3 files changed, 36 insertions, 0 deletions
diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize
index 8f37f74..8af146d 100644
--- a/gdb/config/.Sanitize
+++ b/gdb/config/.Sanitize
@@ -56,6 +56,8 @@ hppahpux.mt
i386aout.mt
i386mach.mh
i386sco.mh
+i386sol2.mh
+i386sol2.mt
i386v.mh
i386v.mt
i386v32.mh
diff --git a/gdb/config/i386sol2.mh b/gdb/config/i386sol2.mh
new file mode 100644
index 0000000..49e7c6d
--- /dev/null
+++ b/gdb/config/i386sol2.mh
@@ -0,0 +1,31 @@
+# Host: Intel 386 running Solaris 2 (SVR4).
+
+# Solaris-2 makes `install' optional in the Berkeley compatability pkg.
+# cp will do fine.
+INSTALL = cp
+
+SYSV_DEFINE=-DSYSV
+REGEX=regex.o
+REGEX1=regex.o
+
+# Need to compile and link in support for SVR4's /proc and i386 host dependent
+# routines.
+XDEPFILES= procfs.o fork-child.o i386-xdep.o
+
+# Use the i386 SVR4 host configuration file.
+XM_FILE= xm-i386v4.h
+
+# We need to find alloca() somewhere. Gcc has one built in, but most other
+# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because
+# we have to be careful not to pull in anything else from the library (lots
+# of things are broken in most SVR4 versions). The best solution is to just
+# compile alloca.c and link it into the executable. If we end up not needing
+# it, then the code is just dead. Once alloca.c moves to libiberty, then we
+# can eliminate this semi-kludge.
+ALLOCA=alloca.o
+ALLOCA1=alloca.o
+
+# SVR4 comes standard with terminfo, and in some implementations, the
+# old termcap descriptions are incomplete. So ensure that we use the
+# new terminfo interface and latest terminal descriptions.
+TERMCAP=-ltermlib
diff --git a/gdb/config/i386sol2.mt b/gdb/config/i386sol2.mt
new file mode 100644
index 0000000..4902e43
--- /dev/null
+++ b/gdb/config/i386sol2.mt
@@ -0,0 +1,3 @@
+# Target: Intel 386 running SVR4
+TDEPFILES= exec.o i386-pinsn.o i386-tdep.o i387-tdep.o solib.o
+TM_FILE= tm-i386v4.h