6e4f085c7f
Other than the nice advantage of all sims having to declare one fewer common function, this also fixes leakage in pretty much every sim. Many were not freeing any resources, and a few were inconsistent as to the ones they did. Now we have a single module that takes care of all the logic for us. Most of the non-cgen based ones could be deleted outright. The cgen ones required adding a callback to the arch-specific cleanup func. The few that still have close callbacks are to manage their internal state. We do not convert erc32, m32c, ppc, rl78, or rx as they do not use the common sim core.
167 lines
4.4 KiB
Plaintext
167 lines
4.4 KiB
Plaintext
2015-11-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_close): Delete.
|
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2015-04-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
* Makefile.in (SIM_OBJS): Move interp.o
|
|
above $(SIM_NEW_COMMON_OBJS).
|
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* sim-main.h (SIM_CPU): Delete.
|
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* sim-main.h (sim_cia): Delete.
|
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET): Delete.
|
|
|
|
2015-04-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (avr_pc_get, avr_pc_set): New functions.
|
|
(sim_open): Declare new local var i. Call CPU_PC_FETCH &
|
|
CPU_PC_STORE for all cpus.
|
|
|
|
2015-04-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-cpu.o.
|
|
* sim-main.h (STATE_CPU): Delete.
|
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2015-04-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
|
|
|
|
2015-04-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* tconfig.h: Delete.
|
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
2015-03-28 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS, SIM_RUN_OBJS, SIM_EXTRA_LIBS): Delete.
|
|
(interp.o): Delete rule.
|
|
(SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
|
|
* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
|
|
SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
|
|
SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
|
|
* interp.c: Delete gdb/callback.h, gdb/signals.h, dis-asm.h, and
|
|
sim-utils.h includes. Include sim-main.h, sim-base.h, and
|
|
sim-options.h.
|
|
(tracing, lock_step, verbose): Delete.
|
|
(pc): Drop static.
|
|
(cur_bfd, cpu_exception, cpu_signal, sim_kind, myname, callback):
|
|
Delete.
|
|
(flash, sram): Add TODO.
|
|
(sim_size, disasm_read_memory, disasm_perror_memory,
|
|
disassemble_insn): Delete.
|
|
(sim_resume): Rename to ...
|
|
(step_once): ... this. Mark static. Delete step variable and while
|
|
loop, and unindent body. Add #if 0 around tracing/verbose code.
|
|
Change cpu_exception to sim_engine_halt.
|
|
(sim_trace): Delete.
|
|
(sim_engine_run): New function.
|
|
(sim_stop_reason, sim_stop, sim_info): Delete.
|
|
(free_state): New function.
|
|
(sim_open, sim_close, sim_create_inferior): Rewrite from scratch.
|
|
(sim_load, sim_do_command, sim_set_callbacks,
|
|
sim_complete_command): delete.
|
|
* sim-main.h: New file.
|
|
* config.in, configure: Regenerate.
|
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
|
|
-DSIM_USE_DEPRECATED_RUN_FRONTEND.
|
|
(SIM_RUN_OBJS): Set to run.o.
|
|
|
|
2015-02-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_kill): Delete unused func.
|
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
* configure: Regenerate.
|
|
* config.in: Regenerate.
|
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_do_command): Add const to cmd.
|
|
|
|
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_load): Add const to prog.
|
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
2012-06-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
2012-05-24 Pedro Alves <palves@redhat.com>
|
|
|
|
PR gdb/7205
|
|
* Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
|
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
2011-12-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4: New file.
|
|
* configure: Regenerate.
|
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac: Change include to common/acinclude.m4.
|
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
|
|
call. Replace common.m4 include with SIM_AC_COMMON.
|
|
* configure: Regenerate.
|
|
|
|
2011-04-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_complete_command): New stub function.
|
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_write): Add const to buffer arg.
|