From 1fe052808af59da1d2c4718efe8678cb5eabea0a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 May 1997 08:41:15 +0000 Subject: Update devo version of m32r sim to build with recent sim/common changes. --- sim/common/cgen-utils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sim/common/cgen-utils.c') diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c index d8e57bf..6aa9107 100644 --- a/sim/common/cgen-utils.c +++ b/sim/common/cgen-utils.c @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sim-main.h" +#include #include "dis-asm.h" #include "cpu-opc.h" #include "decode.h" @@ -237,13 +238,13 @@ sim_disassemble_insn (SIM_CPU *cpu, const struct cgen_insn *insn, switch (abuf->length) { case 1 : - insn_value = sim_core_read_1 (CPU_STATE (cpu), sim_core_read_map, pc); + insn_value = sim_core_read_1 (CPU_STATE (cpu), sim_core_read_map, pc, NULL, NULL_CIA); break; case 2 : - insn_value = sim_core_read_2 (CPU_STATE (cpu), sim_core_read_map, pc); + insn_value = sim_core_read_2 (CPU_STATE (cpu), sim_core_read_map, pc, NULL, NULL_CIA); break; case 4 : - insn_value = sim_core_read_4 (CPU_STATE (cpu), sim_core_read_map, pc); + insn_value = sim_core_read_4 (CPU_STATE (cpu), sim_core_read_map, pc, NULL, NULL_CIA); break; default: abort (); -- cgit v1.1