binutils-gdb/sim/avr/ChangeLog
Mike Frysinger 034685f9ce sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET}
The CIA_{GET,SET} macros serve the same function as CPU_PC_{GET,SET}
except the latter adds a layer of indirection via the sim state.  This
lets models set up different functions at runtime and doesn't reach so
directly into the arch-specific cpu state.

It also doesn't make sense to have two sets of macros that do exactly
the same thing, so lets standardize on the one that gets us more.
2015-04-17 02:44:30 -04:00

138 lines
3.8 KiB
Plaintext

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.