aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/cpu.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2005-10-28 19:58:11 +0000
committerDave Brolley <brolley@redhat.com>2005-10-28 19:58:11 +0000
commit79e59fe67b4680a343d776c7e43e12ddfaf594ad (patch)
tree3015388c9b2ba94b676954c0db5714a93df871f7 /sim/frv/cpu.c
parentfb53f5a81a23dd5fc2eac009274e90b9753e1f22 (diff)
downloadgdb-79e59fe67b4680a343d776c7e43e12ddfaf594ad.zip
gdb-79e59fe67b4680a343d776c7e43e12ddfaf594ad.tar.gz
gdb-79e59fe67b4680a343d776c7e43e12ddfaf594ad.tar.bz2
2005-10-28 Dave Brolley <brolley@redhat.com>
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate. Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * mloop.in: Ditto. * pipeline.c: Ditto. * traps.c: Ditto.
Diffstat (limited to 'sim/frv/cpu.c')
-rw-r--r--sim/frv/cpu.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/sim/frv/cpu.c b/sim/frv/cpu.c
index 111ec33..b0de504 100644
--- a/sim/frv/cpu.c
+++ b/sim/frv/cpu.c
@@ -2,7 +2,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996-2004 Free Software Foundation, Inc.
+Copyright 1996-2005 Free Software Foundation, Inc.
This file is part of the GNU simulators.
@@ -18,7 +18,7 @@ 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, write to the Free Software Foundation, Inc.,
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
@@ -28,6 +28,22 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "sim-main.h"
#include "cgen-ops.h"
+/* Get the value of h-reloc-ann. */
+
+BI
+frvbf_h_reloc_ann_get (SIM_CPU *current_cpu)
+{
+ return CPU (h_reloc_ann);
+}
+
+/* Set a value for h-reloc-ann. */
+
+void
+frvbf_h_reloc_ann_set (SIM_CPU *current_cpu, BI newval)
+{
+ CPU (h_reloc_ann) = newval;
+}
+
/* Get the value of h-pc. */
USI