Update
[gdb.git] / gdb / m88k-tdep.h
blob614b6ead1a4a5845b9b51947be722f1ae22e427c
1 /* Target-dependent code for the Motorola 88000 series.
3 Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc.
5 This file is part of GDB.
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 3 of the License, or
10 (at your option) any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 #ifndef M88K_TDEP_H
21 #define M88K_TDEP_H
23 /* Register numbers of various important registers. */
25 enum m88k_regnum
27 M88K_R0_REGNUM,
28 M88K_R1_REGNUM, /* Return address (hardware). */
29 M88K_R2_REGNUM,
30 M88K_R3_REGNUM,
31 M88K_R12_REGNUM = 12,
32 M88K_R30_REGNUM = 30, /* Frame pointer. */
33 M88K_R31_REGNUM, /* Stack pointer. */
34 M88K_EPSR_REGNUM,
35 M88K_FPSR_REGNUM,
36 M88K_FPCR_REGNUM,
37 M88K_SXIP_REGNUM,
38 M88K_SNIP_REGNUM,
39 M88K_SFIP_REGNUM,
40 M88K_NUM_REGS /* Number of machine registers. */
44 /* Instruction size. */
45 #define M88K_INSN_SIZE 4
47 #endif /* m88k-tdep.h */