Fix sat problem in d30v.
+Mon Sep 8 20:10:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * 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 <dje@seba>
* configure: Regenerated to track ../common/aclocal.m4 changes.
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])
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)