| 1 | /* Host machine description for Motorola Delta 88 system, for GDB. |
| 2 | Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992 |
| 3 | Free Software Foundation, Inc. |
| 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 | #define HOST_BYTE_ORDER BIG_ENDIAN |
| 22 | |
| 23 | #if !defined (USG) |
| 24 | #define USG 1 |
| 25 | #endif |
| 26 | |
| 27 | #include <sys/param.h> |
| 28 | #include <sys/time.h> |
| 29 | |
| 30 | #define HAVE_TERMIO |
| 31 | |
| 32 | /*#define USIZE 2048*/ |
| 33 | #define NBPG NBPC |
| 34 | #define UPAGES USIZE |
| 35 | |
| 36 | /* This is the amount to subtract from u.u_ar0 |
| 37 | to get the offset in the core file of the register values. */ |
| 38 | |
| 39 | /* Since registers r0 through r31 are stored directly in the struct ptrace_user, |
| 40 | (for m88k BCS) |
| 41 | the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ |
| 42 | |
| 43 | #define KERNEL_U_ADDR 0 |
| 44 | |
| 45 | #define REGISTER_U_ADDR(addr, blockend, regno) \ |
| 46 | (addr) = m88k_register_u_addr ((blockend),(regno)); |
| 47 | |
| 48 | #define FETCH_INFERIOR_REGISTERS |