Commit | Line | Data |
---|---|---|
92362027 AC |
1 | /* Macro definitions for running gdb on a Sparc running GNU/Linux. |
2 | ||
3 | Copyright 1989, 1993, 1994, 1995, 1996, 1998, 2001, 2002 Free | |
4 | Software Foundation, Inc. | |
c906108c | 5 | |
c5aa993b | 6 | This file is part of GDB. |
c906108c | 7 | |
c5aa993b JM |
8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2 of the License, or | |
11 | (at your option) any later version. | |
c906108c | 12 | |
c5aa993b JM |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
c906108c | 17 | |
c5aa993b JM |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software | |
20 | Foundation, Inc., 59 Temple Place - Suite 330, | |
21 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
22 | |
23 | #ifndef XM_SPARCLINUX_H | |
24 | #define XM_SPARCLINUX_H | |
25 | ||
c906108c SS |
26 | /* This is the amount to subtract from u.u_ar0 |
27 | to get the offset in the core file of the register values. */ | |
28 | #define KERNEL_U_ADDR 0x0 | |
29 | ||
30 | #define U_REGS_OFFSET 0 | |
31 | ||
c906108c SS |
32 | /* If you expect to use the mmalloc package to obtain mapped symbol files, |
33 | for now you have to specify some parameters that determine how gdb places | |
34 | the mappings in it's address space. See the comments in map_to_address() | |
35 | for details. This is expected to only be a short term solution. Yes it | |
36 | is a kludge. | |
37 | FIXME: Make this more automatic. */ | |
38 | ||
c5aa993b JM |
39 | #define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */ |
40 | #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ | |
c906108c SS |
41 | |
42 | #endif /* _XM_SPARCLINUX_H */ |