]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/config/a29k/xm-ultra3.h
import gdb-1999-07-07 post reformat
[thirdparty/binutils-gdb.git] / gdb / config / a29k / xm-ultra3.h
CommitLineData
c906108c
SS
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
c5aa993b 5 This file is part of GDB.
c906108c 6
c5aa993b
JM
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.
c906108c 11
c5aa993b
JM
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.
c906108c 16
c5aa993b
JM
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,
20 Boston, MA 02111-1307, USA. */
c906108c
SS
21
22/* Here at NYU we have what we call an ULTRA3 PE board. So
23 ifdefs for ULTRA3 are my doing. At this point in time,
24 I don't know of any other Unixi running on the a29k. */
25
26#define HOST_BYTE_ORDER BIG_ENDIAN
27
28#define HAVE_WAIT_STRUCT
29
30#ifndef L_SET
c5aa993b
JM
31#define L_SET 0 /* set the seek pointer */
32#define L_INCR 1 /* increment the seek pointer */
33#define L_XTND 2 /* extend the file size */
c906108c
SS
34#endif
35
36#ifndef O_RDONLY
c5aa993b
JM
37#define O_RDONLY 0
38#define O_WRONLY 1
39#define O_RDWR 2
c906108c
SS
40#endif
41
42#ifndef F_OK
c5aa993b
JM
43#define R_OK 4
44#define W_OK 2
45#define X_OK 1
46#define F_OK 0
c906108c
SS
47#endif
48
49/* System doesn't provide siginterrupt(). */
50#define NO_SIGINTERRUPT
51
52/* System uses a `short' to hold a process group ID. */
53#define SHORT_PGRP