Use BYTE_GET_SIGNED on r_addend.
[binutils.git] / include / gdb / sim-rx.h
blobe3ee1d3a4251c94eda14ae73826b5a966b4bcddd
1 /* sim-rx.h --- interface between RX simulator and GDB.
3 Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
5 Contributed by Red Hat.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
22 #if !defined (SIM_RX_H)
23 #define SIM_RX_H
25 enum sim_rx_regnum
27 sim_rx_r0_regnum,
28 sim_rx_r1_regnum,
29 sim_rx_r2_regnum,
30 sim_rx_r3_regnum,
31 sim_rx_r4_regnum,
32 sim_rx_r5_regnum,
33 sim_rx_r6_regnum,
34 sim_rx_r7_regnum,
35 sim_rx_r8_regnum,
36 sim_rx_r9_regnum,
37 sim_rx_r10_regnum,
38 sim_rx_r11_regnum,
39 sim_rx_r12_regnum,
40 sim_rx_r13_regnum,
41 sim_rx_r14_regnum,
42 sim_rx_r15_regnum,
43 sim_rx_usp_regnum,
44 sim_rx_isp_regnum,
45 sim_rx_ps_regnum,
46 sim_rx_pc_regnum,
47 sim_rx_intb_regnum,
48 sim_rx_bpsw_regnum,
49 sim_rx_bpc_regnum,
50 sim_rx_fintv_regnum,
51 sim_rx_fpsw_regnum,
52 sim_rx_acc_regnum,
53 sim_rx_num_regs
56 #endif /* SIM_RX_H */