2015-03-23 03:10:09 +00:00
|
|
|
2015-11-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_close): Rename to ...
|
|
|
|
(msp430_sim_close): ... this. Delete call to sim_state_free.
|
|
|
|
* sim-main.h (msp430_sim_close): Declare.
|
|
|
|
(SIM_CLOSE_HOOK): Define.
|
|
|
|
|
2015-06-24 13:52:21 +00:00
|
|
|
2015-06-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (trace_reg_put): Change TRACE_VPU to TRACE_REGISTER.
|
|
|
|
(trace_reg_get): Likewise.
|
|
|
|
|
2015-06-23 17:58:48 +00:00
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-15 13:37:38 +00:00
|
|
|
2015-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (maybe_perform_syscall): Replace call to cb_syscall
|
|
|
|
with sim_syscall.
|
|
|
|
|
2015-06-15 15:24:21 +00:00
|
|
|
2015-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c: Include sim-syscall.h.
|
|
|
|
(syscall_read_mem, syscall_write_mem): Delete.
|
|
|
|
(maybe_perform_syscall): Change syscall_read_mem/syscall_write_mem
|
|
|
|
to sim_syscall_read_mem/sim_syscall_write_mem.
|
|
|
|
|
2015-06-12 14:32:54 +00:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 16:04:42 +00:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 14:07:55 +00:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (trace_reg_put): Replace TRACE_VPU_P/trace_generic
|
|
|
|
with TRACE_VPU.
|
|
|
|
(trace_reg_get): Likewise.
|
|
|
|
(get_op): Replace TRACE_MEMORY_P/trace_generic with TRACE_MEMORY.
|
|
|
|
(put_op): Likewise.
|
|
|
|
(msp430_dis_read): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
|
|
|
|
(do_flags): Likewise.
|
|
|
|
(maybe_perform_syscall): Replace TRACE_SYSCALL_P/trace_generic with
|
|
|
|
TRACE_SYSCALL.
|
|
|
|
(msp430_step_once): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
|
|
|
|
Replace TRACE_BRANCH_P/trace_generic with TRACE_BRANCH.
|
|
|
|
|
2015-06-11 16:08:11 +00:00
|
|
|
2015-06-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
|
|
|
|
TRACE_SYSCALL, TRACE_CORE, TRACE_EVENTS, TRACE_BRANCH,
|
|
|
|
trace_register, TRACE_REGISTER, TRACE_REG): Delete.
|
|
|
|
|
2015-04-18 08:19:56 +00:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_CPU): Delete.
|
|
|
|
|
2015-04-18 08:08:56 +00:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (sim_cia): Delete.
|
|
|
|
|
2015-04-16 06:11:12 +00:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET): Delete.
|
|
|
|
|
2015-04-15 06:13:23 +00:00
|
|
|
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 06:38:57 +00:00
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-07 03:40:00 +00:00
|
|
|
2015-04-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
|
|
|
|
|
2015-04-01 06:34:00 +00:00
|
|
|
2015-04-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
|
|
|
|
|
2015-04-01 03:32:49 +00:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-03-23 04:08:25 +00:00
|
|
|
2015-03-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h: Delete run-sim.h include.
|
|
|
|
|
2015-03-15 03:41:25 +00:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2014-03-08 05:56:53 +00:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
* configure.ac: Call the common inline & warning macros.
|
|
|
|
* msp430-sim.c: Include unistd.h & trace.h.
|
|
|
|
* trace.c: Include trace.h.
|
|
|
|
(load_file_and_line): Move FILE* decl to top of scope.
|
|
|
|
* trace.h (msp430_get_current_source_location): Adjust prototype to
|
|
|
|
match the function definition.
|
|
|
|
|
2015-02-19 08:46:01 +00:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_RUN_OBJS): Delete.
|
|
|
|
|
2015-02-24 10:27:07 +00:00
|
|
|
2015-02-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Allocate memory regions matching those
|
|
|
|
declared in the libgloss/msp430 linker scripts.
|
|
|
|
Allow sim_load_file to fail.
|
|
|
|
(get_op): Test the correct address bit when checking for out of
|
|
|
|
range addresses.
|
|
|
|
Include the address in the error message when an illegal access to
|
|
|
|
the hardware multiplier is detected.
|
|
|
|
(put_op): Test the correct address bit when checking for out of
|
|
|
|
range addresses.
|
|
|
|
|
2014-08-19 12:29:56 +00:00
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-08-19 10:34:14 +00:00
|
|
|
2014-08-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* msp430-sim.c: Move static hardware multiply support variables
|
|
|
|
from here...
|
|
|
|
* msp430-sim.h (msp430_cpu_state): ... into here ...
|
|
|
|
* msp430-sim.c (get_op, put_op): ... and update references to use
|
|
|
|
the msp430_cpu_state structure.
|
|
|
|
|
2014-08-15 22:46:40 +00:00
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
2014-06-03 08:00:57 +00:00
|
|
|
2014-06-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (get_op): Handle reads of low result register when
|
|
|
|
in MAC mode.
|
|
|
|
(put_op): Copy MAC result into result words.
|
|
|
|
Handle writes to the low result register.
|
|
|
|
|
2014-05-12 23:05:19 +00:00
|
|
|
2014-05-12 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* msp43-sim.c (sign_ext): Change to "long long" to support
|
|
|
|
sign-extending 32-bit values.
|
|
|
|
|
2014-05-08 07:53:16 +00:00
|
|
|
2014-05-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Do not allocate memory over the
|
|
|
|
hardware multiply registers.
|
|
|
|
(get_op): Add support for reads from the hardware multiply
|
|
|
|
registers.
|
|
|
|
(put_op): Add support for writes to the hardware multiply
|
|
|
|
registers.
|
|
|
|
(msp430_step_once): Add support for the RETI instruction used by
|
|
|
|
the CPUX architecture.
|
|
|
|
|
2014-03-08 05:20:11 +00:00
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_create_inferior): Set new_pc to the result of
|
|
|
|
bfd_get_start_address when abfd is not NULL and new_pc is zero.
|
|
|
|
|
2014-03-07 04:29:37 +00:00
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim (maybe_perform_syscall): Change %d to %ld.
|
|
|
|
(msp430_step_once): Cast fprintf to fprintf_ftype.
|
|
|
|
|
2013-09-23 00:32:27 +00:00
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2013-06-21 10:59:14 +00:00
|
|
|
2013-06-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in: New.
|
|
|
|
* aclocal.m4: Generate.
|
|
|
|
* config.in: Generate.
|
|
|
|
* configure.ac: New.
|
|
|
|
* configure: Generate.
|
|
|
|
* msp430-sim.c: New.
|
|
|
|
* msp430-sim.h: New.
|
|
|
|
* sim-main.h: New.
|
|
|
|
* trace.c: New.
|
|
|
|
* trace.h: New.
|