gdb: throw OPTIMIZED_OUT_ERROR rather than GENERIC_ERROR
[binutils-gdb.git] / sim / frv / cpu.c
index 111ec333b6063dec789a7e28a7da2a85ae1bc774..b56b219201bab2ebfb38d7752d07d927b4e624f9 100644 (file)
@@ -2,23 +2,22 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996-2004 Free Software Foundation, Inc.
+Copyright 1996-2021 Free Software Foundation, Inc.
 
 This file is part of the GNU simulators.
 
-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 2, or (at your option)
-any later version.
+   This file 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, 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.
+   It 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, write to the Free Software Foundation, Inc.,
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+   You should have received a copy of the GNU General Public License along
+   with this program; if not, see <http://www.gnu.org/licenses/>.
 
 */
 
@@ -28,6 +27,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
@@ -683,11 +698,3 @@ frvbf_h_cccr_set (SIM_CPU *current_cpu, UINT regno, UQI newval)
 {
   CPU (h_cccr[regno]) = newval;
 }
-
-/* Record trace results for INSN.  */
-
-void
-frvbf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
-                           int *indices, TRACE_RECORD *tr)
-{
-}