* config/xm-nbsd.h: New file, support for all NetBSD ports.
[deliverable/binutils-gdb.git] / gdb / config / xm-nbsd.h
1 /* Host-dependent definitions for any CPU running NetBSD.
2 Copyright 1993, 1994 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
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.
10
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.
15
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. */
19
20 /* for INT_MIN, to avoid "INT_MIN redefined" warnings from defs.h */
21 #include <limits.h>
22
23 #include <machine/endian.h>
24 #ifdef BYTE_ORDER == BIG_ENDIAN
25 #define HOST_BYTE_ORDER BIG_ENDIAN
26 #else
27 #define HOST_BYTE_ORDER LITTLE_ENDIAN
28 #endif
29
30 /* NetBSD has termios facilities. */
31 #define HAVE_TERMIOS
32
33 /* psignal() is in <signal.h>. */
34 #define PSIGNAL_IN_SIGNAL_H
35
36 /* Get rid of any system-imposed stack limit if possible. */
37 #define SET_STACK_LIMIT_HUGE
This page took 0.029375 seconds and 4 git commands to generate.