]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/sparc/xm-sun4sol2.h
import gdb-1999-07-07 post reformat
[thirdparty/binutils-gdb.git] / gdb / config / sparc / xm-sun4sol2.h
1 /* Macro definitions for running gdb on a Sun 4 running Solaris 2.
2 Copyright 1989, 1992 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., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 /* Most of what we know is generic to SPARC hosts. */
22
23 #include "sparc/xm-sparc.h"
24
25 /* Pick up more stuff from the generic SVR4 host include file. */
26
27 #include "xm-sysv4.h"
28
29 /* gdb wants to use the prgregset_t interface rather than
30 the gregset_t interface, partly because that's what's
31 used in core-sol2.c */
32
33 #define GDB_GREGSET_TYPE prgregset_t
34 #define GDB_FPREGSET_TYPE prfpregset_t
35
36 /* These are not currently used in SVR4 (but should be, FIXME!). */
37 #undef DO_DEFERRED_STORES
38 #undef CLEAR_DEFERRED_STORES
39
40 /* May be needed, may be not? From Pace Willisson's port. FIXME. */
41 #define NEED_POSIX_SETPGID
42
43 /* solaris doesn't have siginterrupt, though it has sigaction; however,
44 in this case siginterrupt would just be setting the default. */
45 #define NO_SIGINTERRUPT
46
47 /* On sol2.7, <curses.h> emits a bunch of 'macro redefined'
48 warnings, which makes autoconf think curses.h doesn't
49 exist. Compensate fot that here. */
50 #define HAVE_CURSES_H 1