aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-30 02:05:33 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-30 02:20:23 -0400
commit541ebcee679ccda568b49af01b1da74387623386 (patch)
tree7cab77675c45ca3a0883ee8a0f042c6c95fb1f08 /sim/d10v/ChangeLog
parenta87686e5aa57d86a86b6deac8b4d47a86c69c950 (diff)
downloadgdb-541ebcee679ccda568b49af01b1da74387623386.zip
gdb-541ebcee679ccda568b49af01b1da74387623386.tar.gz
gdb-541ebcee679ccda568b49af01b1da74387623386.tar.bz2
sim: d10v: convert to nrun
A lot of cpu state is stored in global variables, as is memory handling. The sim_size support needs unwinding at some point. But at least this is an improvement on the status quo.
Diffstat (limited to 'sim/d10v/ChangeLog')
-rw-r--r--sim/d10v/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index ca4b5d2..1808502 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,5 +1,26 @@
2015-03-30 Mike Frysinger <vapier@gentoo.org>
+ * d10v_sim.h (text, text_start, text_end, prog_bfd): Delete.
+ (SEXT8, SEXT16, SEXT32, MASK32): Undefine.
+ * interp.c: Delete run-sim.h and d10v_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_set_callbacks,
+ sim_trace, sim_do_command, sim_load): Delete.
+ (INLINE): Delete define.
+ (free_state): New function.
+ (trace_sd): Declare global variable.
+ (sim_open): Rewrite to use new common logic.
+ (sim_close): Delete body.
+ * 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 d10v_sim.h include to sim-main.h.
+ (trace_input_func): Rewrite pc checks to use trace_sd.
+
+2015-03-30 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.