Initial creation of sourceware repository
[deliverable/binutils-gdb.git] / gdb / config / a29k / xm-ultra3.h
1 /* Host definitions for GDB running on an a29k NYU Ultracomputer
2 Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
3 Contributed by David Wood (wood@lab.ultra.nyu.edu).
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21 /* Here at NYU we have what we call an ULTRA3 PE board. So
22 ifdefs for ULTRA3 are my doing. At this point in time,
23 I don't know of any other Unixi running on the a29k. */
24
25 #define HOST_BYTE_ORDER BIG_ENDIAN
26
27 #define HAVE_WAIT_STRUCT
28
29 #ifndef L_SET
30 # define L_SET 0 /* set the seek pointer */
31 # define L_INCR 1 /* increment the seek pointer */
32 # define L_XTND 2 /* extend the file size */
33 #endif
34
35 #ifndef O_RDONLY
36 # define O_RDONLY 0
37 # define O_WRONLY 1
38 # define O_RDWR 2
39 #endif
40
41 #ifndef F_OK
42 # define R_OK 4
43 # define W_OK 2
44 # define X_OK 1
45 # define F_OK 0
46 #endif
47
48 /* System doesn't provide siginterrupt(). */
49 #define NO_SIGINTERRUPT
50
51 /* System uses a `short' to hold a process group ID. */
52 #define SHORT_PGRP
This page took 0.036825 seconds and 4 git commands to generate.