* config/arm/linux.mt: Remove code protected by GDBSERVER define.
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-irix3.h
CommitLineData
c906108c 1/* Target machine description for SGI Iris under Irix, for GDB.
b6ba6518
KB
2 Copyright 1990, 1991, 1992, 1993, 1995, 1999
3 Free Software Foundation, Inc.
c906108c 4
c5aa993b 5 This file is part of GDB.
c906108c 6
c5aa993b
JM
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.
c906108c 11
c5aa993b
JM
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.
c906108c 16
c5aa993b
JM
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., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
c906108c 21
5e045346 22#include "mips/tm-mips.h"
c906108c 23
c906108c
SS
24/* Redefine register numbers for SGI. */
25
cce74817 26#undef MIPS_REGISTER_NAMES
c906108c
SS
27#undef FP0_REGNUM
28#undef PC_REGNUM
c906108c
SS
29#undef HI_REGNUM
30#undef LO_REGNUM
31#undef CAUSE_REGNUM
32#undef BADVADDR_REGNUM
33#undef FCRCS_REGNUM
34#undef FCRIR_REGNUM
35
5e2e9765
KB
36/* Initializer for an array of names for registers 32 and above.
37 There should be NUM_REGS-32 strings in this initializer. */
c906108c 38
cce74817 39#define MIPS_REGISTER_NAMES \
5e2e9765 40 { "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \
c906108c
SS
41 "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
42 "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23",\
43 "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31",\
44 "pc", "cause", "bad", "hi", "lo", "fsr", "fir" \
45 }
46
47/* Register numbers of various important registers.
48 Note that some of these values are "real" register numbers,
49 and correspond to the general registers of the machine,
50 and some are "phony" register numbers which are too large
51 to be actual register numbers as far as the user is concerned
52 but do serve to get the desired values when passed to read_register. */
53
54#define FP0_REGNUM 32 /* Floating point register 0 (single float) */
55#define PC_REGNUM 64 /* Contains program counter */
56#define CAUSE_REGNUM 65 /* describes last exception */
57#define BADVADDR_REGNUM 66 /* bad vaddr for addressing exception */
58#define HI_REGNUM 67 /* Multiple/divide temp */
59#define LO_REGNUM 68 /* ... */
60#define FCRCS_REGNUM 69 /* FP control/status */
61#define FCRIR_REGNUM 70 /* FP implementation/revision */
62
63/* Offsets for register values in _sigtramp frame.
64 sigcontext is immediately above the _sigtramp frame on Irix. */
c5aa993b 65#define SIGFRAME_BASE 0x0
c906108c
SS
66#define SIGFRAME_PC_OFF (SIGFRAME_BASE + 2 * 4)
67#define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 3 * 4)
68#define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4)
This page took 0.234183 seconds and 4 git commands to generate.