merge from gcc
[binutils.git] / include / gdb / sim-m32c.h
blob6097add82d67e8bbfa269c24636189740ed90723
1 /* This file defines the interface between the m32c simulator and gdb.
2 Copyright (C) 2005 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20 #ifndef SIM_M32C_H
21 #define SIM_M32C_H
23 enum m32c_sim_reg {
24 m32c_sim_reg_r0_bank0,
25 m32c_sim_reg_r1_bank0,
26 m32c_sim_reg_r2_bank0,
27 m32c_sim_reg_r3_bank0,
28 m32c_sim_reg_a0_bank0,
29 m32c_sim_reg_a1_bank0,
30 m32c_sim_reg_fb_bank0,
31 m32c_sim_reg_sb_bank0,
32 m32c_sim_reg_r0_bank1,
33 m32c_sim_reg_r1_bank1,
34 m32c_sim_reg_r2_bank1,
35 m32c_sim_reg_r3_bank1,
36 m32c_sim_reg_a0_bank1,
37 m32c_sim_reg_a1_bank1,
38 m32c_sim_reg_fb_bank1,
39 m32c_sim_reg_sb_bank1,
40 m32c_sim_reg_usp,
41 m32c_sim_reg_isp,
42 m32c_sim_reg_pc,
43 m32c_sim_reg_intb,
44 m32c_sim_reg_flg,
45 m32c_sim_reg_svf,
46 m32c_sim_reg_svp,
47 m32c_sim_reg_vct,
48 m32c_sim_reg_dmd0,
49 m32c_sim_reg_dmd1,
50 m32c_sim_reg_dct0,
51 m32c_sim_reg_dct1,
52 m32c_sim_reg_drc0,
53 m32c_sim_reg_drc1,
54 m32c_sim_reg_dma0,
55 m32c_sim_reg_dma1,
56 m32c_sim_reg_dsa0,
57 m32c_sim_reg_dsa1,
58 m32c_sim_reg_dra0,
59 m32c_sim_reg_dra1,
60 m32c_sim_reg_num_regs
63 #endif /* SIM_M32C_H */