]> Git Repo - binutils.git/blame - gdb/config/ns32k/nm-umax.h
Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
[binutils.git] / gdb / config / ns32k / nm-umax.h
CommitLineData
bb19ff3b
AC
1/* OBSOLETE /* Definitions to make GDB run on an encore under umax 4.2 */
2/* OBSOLETE Copyright 1987, 1989, 1992, 2001 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 /* Do implement the attach and detach commands... */ */
22/* OBSOLETE #define ATTACH_DETACH */
23/* OBSOLETE */
24/* OBSOLETE /* Offset of registers within u area. */ */
25/* OBSOLETE #define U_REGS_OFFSET 0 */
26/* OBSOLETE */
27/* OBSOLETE /* called from register_addr() -- blockend not used for now */ */
28/* OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \ */
29/* OBSOLETE { \ */
30/* OBSOLETE switch (regno) { \ */
31/* OBSOLETE case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: \ */
32/* OBSOLETE addr = PU_R0 - (regno * sizeof (int)); break; \ */
33/* OBSOLETE case SP_REGNUM: \ */
34/* OBSOLETE addr = PU_SP; break; \ */
35/* OBSOLETE case PC_REGNUM: \ */
36/* OBSOLETE addr = PU_PC; break; \ */
37/* OBSOLETE case FP_REGNUM: \ */
38/* OBSOLETE addr = PU_FP; break; \ */
39/* OBSOLETE case PS_REGNUM: \ */
40/* OBSOLETE addr = PU_PSL; break; \ */
41/* OBSOLETE case FPS_REGNUM: \ */
42/* OBSOLETE addr = PU_FSR; break; \ */
43/* OBSOLETE case FP0_REGNUM + 0: case FP0_REGNUM + 1: \ */
44/* OBSOLETE case FP0_REGNUM + 2: case FP0_REGNUM + 3: \ */
45/* OBSOLETE case FP0_REGNUM + 4: case FP0_REGNUM + 5: \ */
46/* OBSOLETE case FP0_REGNUM + 6: case FP0_REGNUM + 7: \ */
47/* OBSOLETE addr = PU_F0 + (regno - FP0_REGNUM) * sizeof (float); break; \ */
48/* OBSOLETE case LP0_REGNUM + 0: case LP0_REGNUM + 1: \ */
49/* OBSOLETE case LP0_REGNUM + 2: case LP0_REGNUM + 3: \ */
50/* OBSOLETE addr = PU_F0 + (regno - LP0_REGNUM) * sizeof (double); break; \ */
51/* OBSOLETE default: \ */
52/* OBSOLETE printf ("bad argument to REGISTER_U_ADDR %d\n", regno); \ */
53/* OBSOLETE internal_error (__FILE__, __LINE__, "failed internal consistency check"); \ */
54/* OBSOLETE } \ */
55/* OBSOLETE } */
This page took 0.027615 seconds and 4 git commands to generate.