--- /dev/null
+# 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
--- /dev/null
+# Host: DEC VAX running Ultrix
+
+XDEPFILES= infptrace.o coredep.o
+REGEX=regex.o
+REGEX1=regex.o
+XM_FILE= xm-vaxult.h
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}
;;
-/* 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.
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. */
--- /dev/null
+/* 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"
--- /dev/null
+/* Definitions to make GDB run on a vax under Ultrix.
+
+#include "xm-vax.h"