Commit | Line | Data |
---|---|---|
e140f1da JG |
1 | /* Host machine description for Motorola Delta 88 system, for GDB. |
2 | Copyright 1986, 1987, 1988, 1989, 1990, 1991 Free Software Foundation, Inc. | |
ecb1b520 SC |
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., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | ||
ecb1b520 SC |
20 | #define HOST_BYTE_ORDER BIG_ENDIAN |
21 | ||
22 | #if !defined (USG) | |
23 | #define USG 1 | |
24 | #endif | |
25 | ||
26 | #define MAXPATHLEN 1024 | |
ecb1b520 SC |
27 | |
28 | #include <sys/param.h> | |
29 | #include <sys/time.h> | |
30 | ||
ecb1b520 SC |
31 | #define HAVE_TERMIO |
32 | ||
ecb1b520 SC |
33 | /*#define USIZE 2048*/ |
34 | #define NBPG NBPC | |
35 | #define UPAGES USIZE | |
36 | ||
ecb1b520 SC |
37 | /* Get rid of any system-imposed stack limit if possible. */ |
38 | ||
39 | /*#define SET_STACK_LIMIT_HUGE*/ | |
40 | ||
ecb1b520 SC |
41 | /* This is the amount to subtract from u.u_ar0 |
42 | to get the offset in the core file of the register values. */ | |
43 | ||
44 | /* Since registers r0 through r31 are stored directly in the struct ptrace_user, | |
45 | (for m88k BCS) | |
46 | the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ | |
47 | ||
48 | #define KERNEL_U_ADDR 0 | |
49 | ||
50 | #define REGISTER_U_ADDR(addr, blockend, regno) \ | |
51 | (addr) = m88k_register_u_addr ((blockend),(regno)); | |
52 | ||
ecb1b520 | 53 | #define FETCH_INFERIOR_REGISTERS |
ecb1b520 | 54 | |
e140f1da | 55 | /* Address of end of stack space (in core files). */ |
ecb1b520 | 56 | |
e140f1da | 57 | #define STACK_END_ADDR 0xF0000000 |