]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/m88k-tdep.h
Copyright updates for 2007.
[thirdparty/binutils-gdb.git] / gdb / m88k-tdep.h
CommitLineData
bf2ca189
MK
1/* Target-dependent code for the Motorola 88000 series.
2
6aba47ca 3 Copyright (C) 2004, 2007 Free Software Foundation, Inc.
bf2ca189
MK
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
197e01b6
EZ
19 Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
bf2ca189
MK
21
22#ifndef M88K_TDEP_H
23#define M88K_TDEP_H
24
25/* Register numbers of various important registers. */
26
27enum m88k_regnum
28{
29 M88K_R0_REGNUM,
30 M88K_R1_REGNUM, /* Return address (hardware). */
31 M88K_R2_REGNUM,
32 M88K_R3_REGNUM,
33 M88K_R12_REGNUM = 12,
34 M88K_R30_REGNUM = 30, /* Frame pointer. */
35 M88K_R31_REGNUM, /* Stack pointer. */
36 M88K_EPSR_REGNUM,
37 M88K_FPSR_REGNUM,
38 M88K_FPCR_REGNUM,
39 M88K_SXIP_REGNUM,
40 M88K_SNIP_REGNUM,
41 M88K_SFIP_REGNUM,
42 M88K_NUM_REGS /* Number of machine registers. */
43
44};
45
46/* Instruction size. */
47#define M88K_INSN_SIZE 4
48
49#endif /* m88k-tdep.h */