1 |
1181 |
sfurman |
// OBSOLETE /* Host-machine dependent parameters for Motorola 88000, for GDB.
|
2 |
|
|
// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1998
|
3 |
|
|
// OBSOLETE Free Software Foundation, Inc.
|
4 |
|
|
// OBSOLETE
|
5 |
|
|
// OBSOLETE This file is part of GDB.
|
6 |
|
|
// OBSOLETE
|
7 |
|
|
// OBSOLETE This program is free software; you can redistribute it and/or modify
|
8 |
|
|
// OBSOLETE it under the terms of the GNU General Public License as published by
|
9 |
|
|
// OBSOLETE the Free Software Foundation; either version 2 of the License, or
|
10 |
|
|
// OBSOLETE (at your option) any later version.
|
11 |
|
|
// OBSOLETE
|
12 |
|
|
// OBSOLETE This program is distributed in the hope that it will be useful,
|
13 |
|
|
// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
// OBSOLETE GNU General Public License for more details.
|
16 |
|
|
// OBSOLETE
|
17 |
|
|
// OBSOLETE You should have received a copy of the GNU General Public License
|
18 |
|
|
// OBSOLETE along with this program; if not, write to the Free Software
|
19 |
|
|
// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
|
20 |
|
|
// OBSOLETE Boston, MA 02111-1307, USA. */
|
21 |
|
|
// OBSOLETE
|
22 |
|
|
// OBSOLETE #if !defined (USG)
|
23 |
|
|
// OBSOLETE #define USG 1
|
24 |
|
|
// OBSOLETE #endif
|
25 |
|
|
// OBSOLETE
|
26 |
|
|
// OBSOLETE #include <sys/param.h>
|
27 |
|
|
// OBSOLETE
|
28 |
|
|
// OBSOLETE #ifdef __GNUC__
|
29 |
|
|
// OBSOLETE #define memcpy __builtin_memcpy
|
30 |
|
|
// OBSOLETE /* gcc doesn't have this, at least not gcc 1.92. */
|
31 |
|
|
// OBSOLETE /* #define memset __builtin_memset */
|
32 |
|
|
// OBSOLETE #define strcmp __builtin_strcmp
|
33 |
|
|
// OBSOLETE #endif
|
34 |
|
|
// OBSOLETE
|
35 |
|
|
// OBSOLETE #define x_foff _x_x._x_offset
|
36 |
|
|
// OBSOLETE #define x_fname _x_name
|
37 |
|
|
// OBSOLETE #define USER ptrace_user
|
38 |
|
|
// OBSOLETE #define _BSD_WAIT_FLAVOR
|
39 |
|
|
// OBSOLETE
|
40 |
|
|
// OBSOLETE #define HAVE_TERMIO
|
41 |
|
|
// OBSOLETE
|
42 |
|
|
// OBSOLETE #ifndef USIZE
|
43 |
|
|
// OBSOLETE #define USIZE 2048
|
44 |
|
|
// OBSOLETE #endif
|
45 |
|
|
// OBSOLETE #define NBPG NBPC
|
46 |
|
|
// OBSOLETE #define UPAGES USIZE
|
47 |
|
|
// OBSOLETE
|
48 |
|
|
// OBSOLETE /* This is the amount to subtract from u.u_ar0
|
49 |
|
|
// OBSOLETE to get the offset in the core file of the register values. */
|
50 |
|
|
// OBSOLETE
|
51 |
|
|
// OBSOLETE /* Since registers r0 through r31 are stored directly in the struct ptrace_user,
|
52 |
|
|
// OBSOLETE (for m88k BCS)
|
53 |
|
|
// OBSOLETE the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */
|
54 |
|
|
// OBSOLETE
|
55 |
|
|
// OBSOLETE #define KERNEL_U_ADDR 0
|