aboutsummaryrefslogtreecommitdiff
path: root/include/gdb
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-11-24 19:22:45 +0000
committerDJ Delorie <dj@redhat.com>2009-11-24 19:22:45 +0000
commit4f8d4a386168d6152f3006187c5ecf722eb27d67 (patch)
treee86bf5972e5f09f8c37230b21c220a65a116e734 /include/gdb
parente4d2e6658e104829003a91249ffe27ae1afb0b34 (diff)
downloadgdb-4f8d4a386168d6152f3006187c5ecf722eb27d67.zip
gdb-4f8d4a386168d6152f3006187c5ecf722eb27d67.tar.gz
gdb-4f8d4a386168d6152f3006187c5ecf722eb27d67.tar.bz2
[sim]
* rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate. [include/gdb] * sim-rx.h: New.
Diffstat (limited to 'include/gdb')
-rw-r--r--include/gdb/ChangeLog4
-rw-r--r--include/gdb/sim-rx.h55
2 files changed, 59 insertions, 0 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index f22540b..3b84cad 100644
--- a/include/gdb/ChangeLog
+++ b/include/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-24 DJ Delorie <dj@redhat.com>
+
+ * sim-rx.h: New.
+
2009-05-18 Jon Beniston <jon@beniston.com>
* sim-lm32.h: New file.
diff --git a/include/gdb/sim-rx.h b/include/gdb/sim-rx.h
new file mode 100644
index 0000000..47491d0
--- /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 <http://www.gnu.org/licenses/>. */
+
+#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 */