1 |
578 |
markom |
/* OBSOLETE /* Target definitions for m88k running Harris CX/UX. */
|
2 |
|
|
/* OBSOLETE Copyright 1993, 1994 Free Software Foundation, Inc. */
|
3 |
|
|
/* OBSOLETE */
|
4 |
|
|
/* OBSOLETE This file is part of GDB. */
|
5 |
|
|
/* OBSOLETE */
|
6 |
|
|
/* OBSOLETE This program is free software; you can redistribute it and/or modify */
|
7 |
|
|
/* OBSOLETE it under the terms of the GNU General Public License as published by */
|
8 |
|
|
/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */
|
9 |
|
|
/* OBSOLETE (at your option) any later version. */
|
10 |
|
|
/* OBSOLETE */
|
11 |
|
|
/* OBSOLETE This program is distributed in the hope that it will be useful, */
|
12 |
|
|
/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
13 |
|
|
/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
14 |
|
|
/* OBSOLETE GNU General Public License for more details. */
|
15 |
|
|
/* OBSOLETE */
|
16 |
|
|
/* OBSOLETE You should have received a copy of the GNU General Public License */
|
17 |
|
|
/* OBSOLETE along with this program; if not, write to the Free Software */
|
18 |
|
|
/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */
|
19 |
|
|
/* OBSOLETE Boston, MA 02111-1307, USA. */ */
|
20 |
|
|
/* OBSOLETE */
|
21 |
|
|
/* OBSOLETE #define HARRIS_TARGET 1 */
|
22 |
|
|
/* OBSOLETE */
|
23 |
|
|
/* OBSOLETE #define CXUX_TARGET 1 */
|
24 |
|
|
/* OBSOLETE */
|
25 |
|
|
/* OBSOLETE /* Type of X registers, as supplied by the OS */ */
|
26 |
|
|
/* OBSOLETE */
|
27 |
|
|
/* OBSOLETE typedef struct */
|
28 |
|
|
/* OBSOLETE { */
|
29 |
|
|
/* OBSOLETE long w1, w2, w3, w4; */
|
30 |
|
|
/* OBSOLETE } */
|
31 |
|
|
/* OBSOLETE X_REGISTER_RAW_TYPE; */
|
32 |
|
|
/* OBSOLETE */
|
33 |
|
|
/* OBSOLETE #define X_REGISTER_VIRTUAL_TYPE double */
|
34 |
|
|
/* OBSOLETE */
|
35 |
|
|
/* OBSOLETE #include "m88k/tm-m88k.h" */
|
36 |
|
|
/* OBSOLETE */
|
37 |
|
|
/* OBSOLETE #define ADD_SHARED_SYMBOL_FILES(args,have_tty) add_shared_symbol_files () */
|
38 |
|
|
/* OBSOLETE */
|
39 |
|
|
/* OBSOLETE #define CONVERT_REGISTER_ADDRESS */
|
40 |
|
|
/* OBSOLETE */
|
41 |
|
|
/* OBSOLETE /* Always allocate space for both, but recognize that the m88100 has no */
|
42 |
|
|
/* OBSOLETE FP_REGS. */ */
|
43 |
|
|
/* OBSOLETE */
|
44 |
|
|
/* OBSOLETE #undef ARCH_NUM_REGS */
|
45 |
|
|
/* OBSOLETE #define ARCH_NUM_REGS (target_is_m88110 ? (GP_REGS + FP_REGS) : (GP_REGS)) */
|
46 |
|
|
/* OBSOLETE */
|
47 |
|
|
/* OBSOLETE /* Don't need this grotesquerie. */ */
|
48 |
|
|
/* OBSOLETE */
|
49 |
|
|
/* OBSOLETE #undef SHIFT_INST_REGS */
|
50 |
|
|
/* OBSOLETE */
|
51 |
|
|
/* OBSOLETE /* Extended registers are treated as 16 bytes by Harris' OS's. */
|
52 |
|
|
/* OBSOLETE We treat them as 16 bytes here for consistency's sake. */ */
|
53 |
|
|
/* OBSOLETE */
|
54 |
|
|
/* OBSOLETE #undef REGISTER_RAW_SIZE */
|
55 |
|
|
/* OBSOLETE #define REGISTER_RAW_SIZE(N) ((N) < XFP_REGNUM ? 4 : 16) */
|
56 |
|
|
/* OBSOLETE */
|
57 |
|
|
/* OBSOLETE #undef REGISTER_BYTE */
|
58 |
|
|
/* OBSOLETE #define REGISTER_BYTE(N) \ */
|
59 |
|
|
/* OBSOLETE ((N) >= XFP_REGNUM \ */
|
60 |
|
|
/* OBSOLETE ? (((GP_REGS) * REGISTER_RAW_SIZE(0)) + \ */
|
61 |
|
|
/* OBSOLETE (((N) - XFP_REGNUM) * REGISTER_RAW_SIZE(XFP_REGNUM))) \ */
|
62 |
|
|
/* OBSOLETE : ((N) * REGISTER_RAW_SIZE(0))) */
|