]>
Commit | Line | Data |
---|---|---|
8c6e9f05 | 1 | /* Macro definitions for GDB on an Intel i386 running SVR4. |
5b026741 JG |
2 | Copyright 1991, 1992 Free Software Foundation, Inc. |
3 | Written by Fred Fish at Cygnus Support ([email protected]). | |
8c6e9f05 FF |
4 | |
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | ||
21 | /* Pick up most of what we need from the generic i386 host include file. */ | |
22 | ||
23 | #include "xm-i386v.h" | |
24 | ||
25 | /* Pick up more stuff from the generic SVR4 host include file. */ | |
26 | ||
ee1ad69c | 27 | #include "xm-sysv4.h" |
8c6e9f05 | 28 | |
5b026741 JG |
29 | /* The native AT&T compiler for i386/SVR4 complains about using volatile |
30 | to indicate functions that never return. So shut it up by simply | |
31 | defining away "NORETURN", which is normally defined to "volatile". */ | |
ee1ad69c FF |
32 | |
33 | #ifndef __GNUC__ | |
5b026741 | 34 | # define NORETURN /**/ |
ee1ad69c | 35 | #endif |
318bf84f FF |
36 | |
37 | /* If you expect to use the mmalloc package to obtain mapped symbol files, | |
38 | for now you have to specify some parameters that determine how gdb places | |
39 | the mappings in it's address space. See the comments in map_to_address() | |
40 | for details. This is expected to only be a short term solution. Yes it | |
41 | is a kludge. | |
42 | FIXME: Make this more automatic. */ | |
43 | ||
44 | #define MMAP_BASE_ADDRESS 0x81000000 /* First mapping here */ | |
45 | #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ |