From 70c8abdb4cf6fc5f3e9d7374491997bce1048100 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 8 Sep 1997 17:23:16 +0000 Subject: [PATCH] Use updated MSMASK, MSMASKED macros. Fix sat problem in d30v. --- sim/tic80/ChangeLog | 8 ++++++++ sim/tic80/cpu.h | 2 ++ sim/tic80/sim-main.h | 10 ---------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog index 7f9decb9182..862a8d9fe64 100644 --- a/sim/tic80/ChangeLog +++ b/sim/tic80/ChangeLog @@ -1,3 +1,11 @@ +Mon Sep 8 20:10:43 1997 Andrew Cagney + + * cpu.h (CPU_CIA): Define. + + * sim-main.h (struct sim_state): Delete halt_ok, path_to_halt, + restart_ok, path_to_restart members. + (struct sim_state): Delete reason, siggnal members. + Thu Sep 4 17:21:23 1997 Doug Evans * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/tic80/cpu.h b/sim/tic80/cpu.h index ca2d3275dc8..e710364d0d1 100644 --- a/sim/tic80/cpu.h +++ b/sim/tic80/cpu.h @@ -151,6 +151,8 @@ struct _sim_cpu { sim_cpu_base base; }; +#define CPU_CIA(CPU) ((CPU)->cia) + #define GPR(N) ((CPU)->reg[N]) #define GPR_SET(N, VAL) ((CPU)->reg[N] = (VAL)) #define ACC(N) ((CPU)->acc[N]) diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h index 87aef80f1ee..43872273fdf 100644 --- a/sim/tic80/sim-main.h +++ b/sim/tic80/sim-main.h @@ -51,16 +51,6 @@ static const sim_cia null_cia = {0}; /* Dummy */ struct sim_state { - /* escape route for inner functions */ - int halt_ok; - jmp_buf path_to_halt; - int restart_ok; - jmp_buf path_to_restart; - - /* status from last halt */ - enum sim_stop reason; - int siggnal; - /* the processors proper */ sim_cpu cpu; #define STATE_CPU(sd, n) (&(sd)->cpu) -- 2.30.2