Switch the license of all .c files to GPLv3.
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.h
CommitLineData
e02147b1
MS
1/* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger.
2
6aba47ca
DJ
3 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4 2007 Free Software Foundation, Inc.
e02147b1
MS
5
6 This file is part of GDB.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
e02147b1
MS
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
e02147b1 20
aac71672
MS
21enum {
22 E_D0_REGNUM = 0,
23 E_D1_REGNUM = 1,
24 E_D2_REGNUM = 2,
25 E_D3_REGNUM = 3,
26 E_A0_REGNUM = 4,
27 E_A1_REGNUM = 5,
28 E_A2_REGNUM = 6,
29 E_A3_REGNUM = 7,
30 E_SP_REGNUM = 8,
31 E_PC_REGNUM = 9,
32 E_MDR_REGNUM = 10,
33 E_PSW_REGNUM = 11,
34 E_LIR_REGNUM = 12,
35 E_LAR_REGNUM = 13,
36 E_MDRQ_REGNUM = 14,
37 E_E0_REGNUM = 15,
38 E_E1_REGNUM = 16,
39 E_E2_REGNUM = 17,
40 E_E3_REGNUM = 18,
41 E_E4_REGNUM = 19,
42 E_E5_REGNUM = 20,
43 E_E6_REGNUM = 21,
44 E_E7_REGNUM = 22,
611889b1
KB
45 E_E8_REGNUM = 23,
46 E_E9_REGNUM = 24,
47 E_E10_REGNUM = 25,
aac71672
MS
48 E_MCRH_REGNUM = 26,
49 E_MCRL_REGNUM = 27,
50 E_MCVF_REGNUM = 28,
611889b1 51 E_FPCR_REGNUM = 29,
4640dd91 52 E_FS0_REGNUM = 32
aac71672
MS
53};
54
9cacebf5
MS
55enum movm_register_bits {
56 movm_exother_bit = 0x01,
57 movm_exreg1_bit = 0x02,
58 movm_exreg0_bit = 0x04,
59 movm_other_bit = 0x08,
60 movm_a3_bit = 0x10,
61 movm_a2_bit = 0x20,
62 movm_d3_bit = 0x40,
63 movm_d2_bit = 0x80
64};
65
66/* Values for frame_info.status */
67
68enum frame_kind {
69 MY_FRAME_IN_SP = 0x1,
70 MY_FRAME_IN_FP = 0x2,
71 NO_MORE_FRAMES = 0x4
72};
73
e02147b1
MS
74/* mn10300 private data */
75struct gdbarch_tdep
76{
77 int am33_mode;
e02147b1
MS
78};
79
aac71672 80#define AM33_MODE (gdbarch_tdep (current_gdbarch)->am33_mode)
This page took 0.264434 seconds and 4 git commands to generate.