* xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,

config/mh-vaxbsd, configure.in:  Split up config stuff for Vaxen
into BSD and Ultrix.
This commit is contained in:
Stu Grossman
1992-02-01 12:46:55 +00:00
parent 96499e9638
commit 9e8bf29afd
6 changed files with 39 additions and 9 deletions

12
gdb/config/vaxbsd.mh Normal file
View File

@@ -0,0 +1,12 @@
# Host: DEC VAX running BSD
# The following types of /bin/cc failures have been observed:
# 1. Something in readline.c which I have never seen
# 2. ``"values.c", line 816: compiler error: schain botch''
#msg /bin/cc has been known to fail on VAXen running BSD4.3
#msg If this occurs, use gcc
#msg (but see comments in Makefile.dist about compiling with gcc).
XDEPFILES= infptrace.o coredep.o
REGEX=regex.o
REGEX1=regex.o
XM_FILE= xm-vaxbsd.h

6
gdb/config/vaxult.mh Normal file
View File

@@ -0,0 +1,6 @@
# Host: DEC VAX running Ultrix
XDEPFILES= infptrace.o coredep.o
REGEX=regex.o
REGEX1=regex.o
XM_FILE= xm-vaxult.h

View File

@@ -129,7 +129,16 @@ m88k)
esac
;;
arm | vax | merlin | none | np1 | pn | pyramid | tahoe)
vax)
case "${host_os}" in
bsd*)
gdb_host=vaxbsd ;;
ultrix*)
gdb_host=vaxult ;;
esac
;;
arm | merlin | none | np1 | pn | pyramid | tahoe)
gdb_host=${host_cpu}
;;

View File

@@ -1,4 +1,4 @@
/* Definitions to make GDB run on a vax under 4.2bsd.
/* Common definitions to make GDB run on Vaxen under 4.2bsd and Ultrix.
Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,13 +17,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. */
#ifndef ultrix /* FIXME */
/* We have to include these files now, so that GDB will not make
competing definitions in defs.h. */
#include <machine/endian.h>
#include <machine/limits.h>
#endif /* ultrix */
#define HOST_BYTE_ORDER LITTLE_ENDIAN
/* Get rid of any system-imposed stack limit if possible. */

7
gdb/xm-vaxbsd.h Normal file
View File

@@ -0,0 +1,7 @@
/* Definitions to make GDB run on a vax under 4.2bsd.
/* We have to include these files now, so that GDB will not make
competing definitions in defs.h. */
#include <machine/endian.h>
#include <machine/limits.h>
#include "xm-vax.h"

3
gdb/xm-vaxult.h Normal file
View File

@@ -0,0 +1,3 @@
/* Definitions to make GDB run on a vax under Ultrix.
#include "xm-vax.h"