* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
[deliverable/binutils-gdb.git] / gdb / xm-rs6000.h
CommitLineData
41abdfbd
JG
1/* Parameters for hosting on an RS6000, for GDB, the GNU debugger.
2 Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
3 Contributed by IBM Corporation.
4
5This file is part of GDB.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20
0d6d92c7
ILT
21#include <sys/select.h>
22
41abdfbd
JG
23/* Big end is at the low address */
24
25#define HOST_BYTE_ORDER BIG_ENDIAN
26
27#define HAVE_TERMIO 1
28#define USG 1
29#define HAVE_SIGSETMASK 1
30
37e2f5cb
DZ
31/* AIX declares the mem functions */
32
33#undef MEM_FNS_DECLARED
34#define MEM_FNS_DECLARED 1
35
41abdfbd
JG
36/* This system requires that we open a terminal with O_NOCTTY for it to
37 not become our controlling terminal. */
38
39#define USE_O_NOCTTY
40
41/* Get rid of any system-imposed stack limit if possible. */
42
43#define SET_STACK_LIMIT_HUGE
44
45/* Brain death inherited from PC's pervades. */
46#undef NULL
47#define NULL 0
48
49/* The IBM compiler requires this in order to properly compile alloca(). */
50#pragma alloca
51
52#define vfork fork
53
54/* Do implement the attach and detach commands. */
55
56#define ATTACH_DETACH
57
58/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
59
60#define FETCH_INFERIOR_REGISTERS
61
62/* Setpgrp() takes arguments, unlike ordinary Sys V's. */
63
818de002 64#define SETPGRP_ARGS 1
41abdfbd
JG
65
66/* RS6000/AIXCOFF does not support PT_STEP. Has to be simulated. */
67
68#define NO_SINGLE_STEP
69
818de002 70/* Flag for machine-specific stuff in shared files. FIXME */
1eeba686 71#define IBM6000_HOST
6c6afbb9
PB
72
73/* /usr/include/stdlib.h always uses void* and void,
74 even when __STDC__ isn't defined. */
75#define MALLOC_INCOMPATIBLE
9aa44833
SG
76extern void *malloc PARAMS ((size_t size));
77extern void *realloc PARAMS ((void *ptr, size_t size));
78extern void free PARAMS ((void *));
6c6afbb9 79
9aa44833
SG
80/* AIX doesn't have strdup, so we need to declare it for libiberty */
81extern char *strdup PARAMS ((char *));
This page took 0.055306 seconds and 4 git commands to generate.