1 /* Definitions to make GDB run on an Alpha box under OSF 1.
2 Copyright (C) 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20 #if !defined (HOST_BYTE_ORDER)
21 #define HOST_BYTE_ORDER LITTLE_ENDIAN
24 /* Get rid of any system-imposed stack limit if possible */
26 #define SET_STACK_LIMIT_HUGE
28 #define MEM_FNS_DECLARED
30 #if ! defined (__STDC__) && ! defined (offsetof)
31 # define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
34 /*#define MALLOC_INCOMPATIBLE*/
36 extern void free PARAMS ((void *));
38 #define NO_SIGINTERRUPT
40 #define KERNEL_U_ADDR 0
43 #define MAKEVA_END(list) \
46 ret.a0 = (char *)(list)->arg_bytes; \
47 ret.offset = (list)->argindex; \