aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-ultra3.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-13 01:07:53 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-13 01:07:53 +0000
commit7c18a68f004488fd812714d86c77fc24f9f798db (patch)
tree379fb9a56d4437bdb8ced09797b9e47dffaa15da /gdb/xm-ultra3.h
parent2b05a37a5f8fb2221f53b8d0ff67af52d6c9be9d (diff)
downloadfsf-binutils-gdb-7c18a68f004488fd812714d86c77fc24f9f798db.zip
fsf-binutils-gdb-7c18a68f004488fd812714d86c77fc24f9f798db.tar.gz
fsf-binutils-gdb-7c18a68f004488fd812714d86c77fc24f9f798db.tar.bz2
Add new files for 29K and Ultracomputer support.
Diffstat (limited to 'gdb/xm-ultra3.h')
-rw-r--r--gdb/xm-ultra3.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/gdb/xm-ultra3.h b/gdb/xm-ultra3.h
new file mode 100644
index 0000000..e913409
--- /dev/null
+++ b/gdb/xm-ultra3.h
@@ -0,0 +1,74 @@
+/* Host definitions for GDB running on a 29k NYU Ultracomputer
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Contributed by David Wood (wood@lab.ultra.nyu.edu).
+
+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. */
+
+/* Here at NYU we have what we call an ULTRA3 PE board. So
+ ifdefs for ULTRA3 are my doing. At this point in time,
+ I don't know of any other Unixi running on the 29k. */
+
+#define HOST_BYTE_ORDER BIG_ENDIAN
+
+#define HAVE_WAIT_STRUCT
+
+#ifndef L_SET
+# define L_SET 0 /* set the seek pointer */
+# define L_INCR 1 /* increment the seek pointer */
+# define L_XTND 2 /* extend the file size */
+#endif
+
+#ifndef O_RDONLY
+# define O_RDONLY 0
+# define O_WRONLY 1
+# define O_RDWR 2
+#endif
+
+#ifndef F_OK
+# define R_OK 4
+# define W_OK 2
+# define X_OK 1
+# define F_OK 0
+#endif
+
+/* For dirbuf[] in main.c */
+#ifndef MAXPATHLEN
+#define MAXPATHLEN (1024)
+#endif
+
+/* Get rid of any system-imposed stack limit if possible */
+
+#define SET_STACK_LIMIT_HUGE
+
+/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
+#define FETCH_INFERIOR_REGISTERS
+
+/* If we ever *do* end up using the standard fetch_inferior_registers,
+ this is the right value for U_REGS_OFFSET. */
+#define U_REGS_OFFSET 0
+
+/* System doesn't provide a list of signal names. */
+#define SYS_SIGLIST_MISSING
+
+/* System doesn't provide siginterrupt(). */
+#define NO_SIGINTERRUPT
+
+/* System uses a `short' to hold a process group ID. */
+#define SHORT_PGRP
+
+/* No vfork in this system. */
+#define vfork() fork()