From cca5b2f53e52299c8de4040063dc9c2648baee87 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 24 Nov 2009 19:22:44 +0000 Subject: [PATCH] [sim] * rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate. [include/gdb] * sim-rx.h: New. --- include/gdb/ChangeLog | 4 ++++ include/gdb/sim-rx.h | 55 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 include/gdb/sim-rx.h diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index f22540bf0..3b84cad18 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-11-24 DJ Delorie + + * sim-rx.h: New. + 2009-05-18 Jon Beniston * sim-lm32.h: New file. diff --git a/include/gdb/sim-rx.h b/include/gdb/sim-rx.h new file mode 100644 index 000000000..47491d00e --- /dev/null +++ b/include/gdb/sim-rx.h @@ -0,0 +1,55 @@ +/* sim-rx.h --- interface between RX simulator and GDB. + + Copyright 2008, 2009 Free Software Foundation, Inc. + + Contributed by Red Hat. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#if !defined (SIM_RX_H) +#define SIM_RX_H + +enum sim_rx_regnum + { + sim_rx_r0_regnum, + sim_rx_r1_regnum, + sim_rx_r2_regnum, + sim_rx_r3_regnum, + sim_rx_r4_regnum, + sim_rx_r5_regnum, + sim_rx_r6_regnum, + sim_rx_r7_regnum, + sim_rx_r8_regnum, + sim_rx_r9_regnum, + sim_rx_r10_regnum, + sim_rx_r11_regnum, + sim_rx_r12_regnum, + sim_rx_r13_regnum, + sim_rx_r14_regnum, + sim_rx_r15_regnum, + sim_rx_isp_regnum, + sim_rx_usp_regnum, + sim_rx_intb_regnum, + sim_rx_pc_regnum, + sim_rx_ps_regnum, + sim_rx_bpc_regnum, + sim_rx_bpsw_regnum, + sim_rx_fintv_regnum, + sim_rx_fpsw_regnum, + sim_rx_num_regs + }; + +#endif /* SIM_RX_H */