summaryrefslogtreecommitdiff
path: root/sim/common/cgen-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-02 08:41:15 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-02 08:41:15 +0000
commit1fe052808af59da1d2c4718efe8678cb5eabea0a (patch)
treec18c827b6be9e43f2e56c4bfd0c7a8c94cf0948d /sim/common/cgen-utils.c
parent949fccf66b273ceff1a2d21b3558f24aca17f60d (diff)
downloadbinutils-gdb-1fe052808af59da1d2c4718efe8678cb5eabea0a.tar.gz
Update devo version of m32r sim to build with recent sim/common changes.
Diffstat (limited to 'sim/common/cgen-utils.c')
-rw-r--r--sim/common/cgen-utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c
index d8e57bfb5b1..6aa9107a65d 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 <signal.h>
#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 ();