aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cr16/ChangeLog')
-rw-r--r--sim/cr16/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 4564557..42e1abe 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,5 +1,32 @@
2015-03-29 Mike Frysinger <vapier@gentoo.org>
+ * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
+ (SEXT8, SEXT16, SEXT32): Undefine.
+ * interp.c: Delete run-sim.h and cr16_sim.h includes. Include
+ sim-main.h and sim-options.h.
+ (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
+ text, text_start, text_end, decode_pc, sim_set_profile,
+ sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
+ sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
+ (do_run): Delete prototype.
+ (INLINE): Delete define.
+ (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
+ it.
+ (sim_size): Mark static.
+ (sim_write, sim_read): Pass sd to xfer_mem.
+ (free_state): New function.
+ (trace_sd): Declare global variable.
+ (sim_open): Rewrite to use new common logic.
+ (sim_close): Delete body.
+ (sim_resume): Pass sd to do_run.
+ * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
+ (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+ * sim-main.h: New file.
+ * simops.c: Change cr16_sim.h include to sim-main.h.
+ (trace_input_func): Rewrite pc checks to use trace_sd.
+
+2015-03-29 Mike Frysinger <vapier@gentoo.org>
+
* Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
* interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.