Commit | Line | Data |
---|---|---|
c877c8e6 KB |
1 | /* Native support for linux, for GDB, the GNU debugger. |
2 | Copyright (C) 1986, 1987, 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 | #ifndef XM_LINUX_H | |
21 | #define XM_LINUX_H | |
22 | ||
23 | #define HOST_BYTE_ORDER BIG_ENDIAN | |
24 | ||
25 | #define HAVE_TERMIOS | |
26 | ||
27 | /* This is the amount to subtract from u.u_ar0 | |
28 | + to get the offset in the core file of the register values. */ | |
29 | #define KERNEL_U_ADDR 0x0 | |
30 | ||
31 | #define NEED_POSIX_SETPGID | |
32 | ||
33 | /* Need R_OK etc, but USG isn't defined. */ | |
34 | #include <unistd.h> | |
35 | ||
36 | /* If you expect to use the mmalloc package to obtain mapped symbol files, | |
37 | for now you have to specify some parameters that determine how gdb places | |
38 | the mappings in it's address space. See the comments in map_to_address() | |
39 | for details. This is expected to only be a short term solution. Yes it | |
40 | is a kludge. | |
41 | FIXME: Make this more automatic. */ | |
42 | ||
43 | #define MMAP_BASE_ADDRESS 0x20000000 /* First mapping here */ | |
44 | #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ | |
45 | ||
46 | #endif /* #ifndef XM_LINUX_H */ | |
c906108c SS |
47 | /* Host definitions for a Sun 4, for GDB, the GNU debugger. |
48 | Copyright 1996 | |
49 | Free Software Foundation, Inc. | |
50 | ||
c5aa993b | 51 | This file is part of GDB. |
c906108c | 52 | |
c5aa993b JM |
53 | This program is free software; you can redistribute it and/or modify |
54 | it under the terms of the GNU General Public License as published by | |
55 | the Free Software Foundation; either version 2 of the License, or | |
56 | (at your option) any later version. | |
c906108c | 57 | |
c5aa993b JM |
58 | This program is distributed in the hope that it will be useful, |
59 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
60 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
61 | GNU General Public License for more details. | |
c906108c | 62 | |
c5aa993b JM |
63 | You should have received a copy of the GNU General Public License |
64 | along with this program; if not, write to the Free Software | |
65 | Foundation, Inc., 59 Temple Place - Suite 330, | |
66 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
67 | |
68 | #define HOST_BYTE_ORDER BIG_ENDIAN |