aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-04-07 21:04:21 +0000
committerFred Fish <fnf@specifix.com>1996-04-07 21:04:21 +0000
commit125c17af9117a6912bc1d1c1b0b1812c1307add0 (patch)
treefa099313a50d3cccbfcb4c19cd25da1a6d288710 /gdb
parent230e9ef4a66a5e98fc5ed521fb2d788c23482273 (diff)
downloadgdb-125c17af9117a6912bc1d1c1b0b1812c1307add0.zip
gdb-125c17af9117a6912bc1d1c1b0b1812c1307add0.tar.gz
gdb-125c17af9117a6912bc1d1c1b0b1812c1307add0.tar.bz2
* configure.in (case host): Add i386sco5 host.
* configure: Regenerate. From: Robert Lipe <robertl@dgii.com> Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This target is an SVR3.2 with COFF, ELF, and shared libes, but no /proc. * config/i386/i386sco5.mh: New file. * config/i386/nm-i386sco5.h: New file.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/config/i386/.Sanitize2
-rw-r--r--gdb/config/i386/i386sco5.mh17
-rw-r--r--gdb/config/i386/nm-i386sco5.h41
-rwxr-xr-xgdb/configure1
-rw-r--r--gdb/configure.in1
6 files changed, 74 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24d80bc..fdac9b5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
+Sun Apr 7 13:32:41 1996 Fred Fish <fnf@rtl.cygnus.com>
+
+ * configure.in (case host): Add i386sco5 host.
+ * configure: Regenerate.
+
+ From: Robert Lipe <robertl@dgii.com>
+ Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
+ target is an SVR3.2 with COFF, ELF, and shared libes, but
+ no /proc.
+ * config/i386/i386sco5.mh: New file.
+ * config/i386/nm-i386sco5.h: New file.
+
Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
* bcache.c (bcache): When size of chunk to cache is exactly equal to
diff --git a/gdb/config/i386/.Sanitize b/gdb/config/i386/.Sanitize
index df1ddf0..ac19dcc 100644
--- a/gdb/config/i386/.Sanitize
+++ b/gdb/config/i386/.Sanitize
@@ -44,6 +44,7 @@ i386nw.mt
i386os9k.mt
i386sco.mh
i386sco4.mh
+i386sco5.mh
i386sol2.mh
i386sol2.mt
i386v.mh
@@ -64,6 +65,7 @@ nm-i386lynx.h
nm-i386mach.h
nm-i386sco.h
nm-i386sco4.h
+nm-i386sco5.h
nm-i386v.h
nm-i386v4.h
nm-linux.h
diff --git a/gdb/config/i386/i386sco5.mh b/gdb/config/i386/i386sco5.mh
new file mode 100644
index 0000000..441a59c
--- /dev/null
+++ b/gdb/config/i386/i386sco5.mh
@@ -0,0 +1,17 @@
+# Host: Intel 386 running SCO OpenServer 5
+# Much like 3.2v4, except we don't have to avoid problems with const
+
+XM_FILE= xm-i386sco.h
+
+#
+# Not all configurations of SCO OpenServer 5 come with the TCP/IP
+# runtime, but all come with the development system, so we always
+# have socket(), gethostbyname(), and friends.
+#
+XDEPFILES= ser-tcp.o
+XM_CLIBS= -lPW -lsocket
+
+NAT_FILE= nm-i386sco5.h
+NATDEPFILES= infptrace.o inftarg.o fork-child.o corefile.o core-aout.o corelow.o \
+ i386v-nat.o solib.o
+
diff --git a/gdb/config/i386/nm-i386sco5.h b/gdb/config/i386/nm-i386sco5.h
new file mode 100644
index 0000000..dcc14e4
--- /dev/null
+++ b/gdb/config/i386/nm-i386sco5.h
@@ -0,0 +1,41 @@
+/* Native support for SCO OpenServer 5
+ Copyright 1996 Free Software Foundation, Inc.
+ By Robert Lipe <robertl@dgii.com>. Based on
+ work by Ian Lance Taylor <ian@cygnus.com. and
+ Martin Walker <maw@netcom.com>.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+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. */
+
+/* SCO OpenServer 5 is a superset of 3.2v4. It is actually quite
+ close to SVR4 [ elf, dynamic libes, mmap ] but misses a few things
+ like /proc. */
+
+#include "i386/nm-i386sco.h"
+
+/* Since the native compilers [ and linkers ] are licensed from USL,
+ we'll try convincing GDB of this... */
+
+#include "solib.h" /* Pick up shared library support */
+#define SVR4_SHARED_LIBS
+
+#define ATTACH_DETACH
+
+/* SCO, does not provide <sys/ptrace.h>. infptrace.c does not
+ have defaults for these values. */
+
+#define PTRACE_ATTACH 10
+#define PTRACE_DETACH 11
diff --git a/gdb/configure b/gdb/configure
index 2f4bb75..849baa8 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -3061,6 +3061,7 @@ i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
i[3456]86-*-mach3*) gdb_host=i386m3 ;;
i[3456]86-*-mach*) gdb_host=i386mach ;;
i[3456]86-*-osf1mk*) gdb_host=osf1mk ;;
+i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
i[3456]86-*-sco*) gdb_host=i386sco ;;
i[3456]86-*-solaris*) gdb_host=i386sol2 ;;
diff --git a/gdb/configure.in b/gdb/configure.in
index ddfca60..a0dddcd 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -313,6 +313,7 @@ i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
i[3456]86-*-mach3*) gdb_host=i386m3 ;;
i[3456]86-*-mach*) gdb_host=i386mach ;;
i[3456]86-*-osf1mk*) gdb_host=osf1mk ;;
+i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
i[3456]86-*-sco*) gdb_host=i386sco ;;
i[3456]86-*-solaris*) gdb_host=i386sol2 ;;