Update FSF address.
[deliverable/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, Boston, MA 02111-1307, USA. */
19
20 /* Most of what we know is generic to SPARC hosts. */
21
22 #include "sparc/xm-sparc.h"
23
24 /* Pick up more stuff from the generic SVR4 host include file. */
25
26 #include "xm-sysv4.h"
27
28 /* SVR4's can't seem to agree on what to call the type that contains the
29 general registers. Kludge around it with a #define. */
30
31 #define gregset_t prgregset_t
32 #define fpregset_t prfpregset_t
33
34 /* If you expect to use the mmalloc package to obtain mapped symbol files,
35 for now you have to specify some parameters that determine how gdb places
36 the mappings in it's address space. See the comments in map_to_address()
37 for details. This is expected to only be a short term solution. Yes it
38 is a kludge.
39 FIXME: Make this more automatic. */
40
41 #define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */
42 #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */
43
44 /* These are not currently used in SVR4 (but should be, FIXME!). */
45 #undef DO_DEFERRED_STORES
46 #undef CLEAR_DEFERRED_STORES
47
48 /* May be needed, may be not? From Pace Willisson's port. FIXME. */
49 #define NEED_POSIX_SETPGID
50
51 /* Solaris PSRVADDR support does not seem to include a place for nPC. */
52 #define PRSVADDR_BROKEN
53
54 /* solaris doesn't have siginterrupt, though it has sigaction; however,
55 in this case siginterrupt would just be setting the default. */
56 #define NO_SIGINTERRUPT
This page took 0.037709 seconds and 4 git commands to generate.