2021-06-20 09:33:30 +08:00
|
|
|
2021-06-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Removed.
|
|
|
|
* aclocal.m4: Removed.
|
|
|
|
* configure: Removed.
|
|
|
|
|
2021-06-20 08:06:12 +08:00
|
|
|
2021-06-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-20 07:36:39 +08:00
|
|
|
2021-06-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-19 13:36:30 +08:00
|
|
|
2021-06-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_COMMON): Delete.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-16 10:45:07 +08:00
|
|
|
2021-06-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 14:03:44 +08:00
|
|
|
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 13:58:00 +08:00
|
|
|
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 13:14:39 +08:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-18 14:14:52 +08:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-14 11:16:32 +08:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c: Include sim-signal.h.
|
|
|
|
* sim-main.h: Delete sim-signal.h include.
|
|
|
|
|
sim: overhaul & unify endian settings management
The m4 macro has 2 args: the "wire" settings (which represents the
hardwired port behavior), and the default settings (which are used
if nothing else is specified). If none are specified, the arch is
expected to support both, and the value will be probed based on the
user runtime options or the input program.
Only two arches today set the default value (bpf & mips). We can
probably let this go as it only shows up in one scenario: the sim
is invoked, but with no inputs, and no user endian selection. This
means bpf will not behave like the other arches: an error is shown
and forces the user to make a choice. If an input program is used
though, we'll still switch the default to that. This allows us to
remove the WITH_DEFAULT_TARGET_BYTE_ORDER setting.
For the ports that set a "wire" endian, move it to the runtime init
of the respective sim_open calls. This allows us to change the
WITH_TARGET_BYTE_ORDER to purely a user-selected configure setting
if they want to force a specific endianness.
With all the endian logic moved to runtime selection, we can move
the configure call up to the common dir so we only process it once
across all ports.
The ppc arch was picking the wire endian based on the target used,
but since we weren't doing that for other biendian arches, we can
let this go too. We'll rely on the input selecting the endian, or
make the user decide.
2021-06-16 07:51:52 +08:00
|
|
|
2021-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
|
|
|
|
* msp430-sim.c (sim_open): Set current_target_byte_order.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-16 10:48:50 +08:00
|
|
|
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-13 13:54:48 +08:00
|
|
|
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Removed.
|
|
|
|
|
2021-06-13 13:52:01 +08:00
|
|
|
2021-06-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-06-15 11:16:49 +08:00
|
|
|
2021-06-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
sim: overhaul alignment settings management
Currently, the sim-config module will abort if alignment settings
haven't been specified by the port's configure.ac. This is a bit
weird when we've allowed SIM_AC_OPTION_ALIGNMENT to seem like it's
optional to use. Thus everyone invokes it.
There are 4 alignment settings, but really only 2 matters: strict
and nonstrict. The "mixed" setting is just the default ("unset"),
and "forced" isn't used directly by anyone (it's available as a
runtime option for some ports).
The m4 macro has 2 args: the "wire" settings (which represents the
hardwired port behavior), and the default settings (which are used
if nothing else is specified). If none are specified, then the
build won't work (see above as if SIM_AC_OPTION_ALIGNMENT wasn't
called). If default settings are provided, then that is used, but
we allow the user to override at runtime. Otherwise, the "wire"
settings are used and user runtime options to change are ignored.
Most ports specify a default, or set the "wire" to nonstrict. A
few set "wire" to strict, but it's not clear that's necessary as
it doesn't make the code behavior, by default, any different. It
might make things a little faster, but we should provide the user
the choice of the compromises to make: force a specific mode at
compile time for faster runtime, or allow the choice at runtime.
More likely it seems like an oversight when these ports were
initially created, and/or copied & pasted from existing ports.
With all that backstory, let's get to what this commit does.
First kill off the idea of a compile-time default alignment and
set it to nonstrict in the common code. For any ports that want
strict alignment by default, that code is moved to sim_open while
initializing the sim. That means WITH_DEFAULT_ALIGNMENT can be
completely removed.
Moving the default alignment to the runtime also allows removal
of setting the "wire" settings at configure time. Which allows
removing of all arguments to SIM_AC_OPTION_ALIGNMENT and moving
that call to common code.
The macro logic can be reworked to not pass WITH_ALIGNMENT as -D
CPPFLAG and instead move it to config.h.
All of these taken together mean we can hoist the macro up to the
top level and share it among all sims so behavior is consistent
among all the ports.
2021-06-07 12:54:20 +08:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
|
|
|
|
|
2021-06-07 06:45:05 +08:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-22 11:51:00 +08:00
|
|
|
2021-05-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
|
|
|
|
|
2016-01-22 10:00:25 +08:00
|
|
|
2021-05-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
|
|
|
|
(struct sim_state): Delete.
|
|
|
|
|
2021-05-02 06:05:23 +08:00
|
|
|
2021-05-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c: Replace config.h include with defs.h.
|
|
|
|
|
2021-05-16 11:50:33 +08:00
|
|
|
2021-05-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-05-02 05:16:23 +08:00
|
|
|
2021-05-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-05-02 04:30:59 +08:00
|
|
|
2021-05-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-04-26 06:11:35 +08:00
|
|
|
2021-04-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (NL_TARGET): Delete.
|
|
|
|
|
2021-04-24 04:24:27 +08:00
|
|
|
2021-04-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
Do not check for sys/time.h or sys/times.h
This updates the sim so that it unconditionally uses sys/time.h. This
is in agreement with existing code, and a recent change to BFD.
I also think that sys/times.h is never needed by the sim, so this
patch removes the check and the one spot that was conditionally
including it.
sim/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for sys/time.h
or sys/times.h.
sim/aarch64/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/arm/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/avr/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/bfin/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/bpf/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/common/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* sim-utils.c: Update includes.
sim/cr16/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* simops.c: Update includes.
* configure, config.in: Rebuild.
sim/cris/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* rvdummy.c: Update includes.
* dv-rv.c: Update includes.
* configure, config.in: Rebuild.
sim/d10v/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/erc32/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/example-synacor/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/frv/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/ft32/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/h8300/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/iq2000/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/lm32/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/m32c/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/m32r/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/m68hc11/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/mcore/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/microblaze/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/mips/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/mn10300/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/moxie/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/msp430/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/or1k/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/ppc/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* mon.c: Update includes.
* emul_unix.c: Update includes.
(do_unix_gettimeofday): Update condition.
sim/pru/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/riscv/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/rl78/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/rx/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
sim/sh/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* interp.c: Update includes.
* configure, config.in: Rebuild.
sim/v850/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
2021-04-23 09:51:54 +08:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* configure, config.in: Rebuild.
|
|
|
|
|
2021-04-23 09:51:54 +08:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
2021-04-22 08:39:24 +08:00
|
|
|
2021-04-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
2021-04-22 02:51:10 +08:00
|
|
|
2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-19 11:44:36 +08:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-19 11:33:31 +08:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete AC_CHECK_HEADERS call.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-04-19 09:50:07 +08:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-08-12 22:12:41 +08:00
|
|
|
2021-04-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
|
|
|
|
|
2021-01-18 03:45:25 +08:00
|
|
|
2021-04-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-02-22 08:24:10 +08:00
|
|
|
2021-02-28 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-02-22 08:08:14 +08:00
|
|
|
2021-02-28 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_LIBDEPS): Delete.
|
|
|
|
|
2021-02-22 08:02:47 +08:00
|
|
|
2021-02-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_ALL): Delete.
|
|
|
|
|
2021-02-07 11:51:30 +08:00
|
|
|
2021-02-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-02-07 08:46:16 +08:00
|
|
|
2021-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-01-18 02:39:03 +08:00
|
|
|
2021-02-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-09 16:56:10 +08:00
|
|
|
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-01-09 14:16:11 +08:00
|
|
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-08 15:24:51 +08:00
|
|
|
2021-01-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-03 16:09:04 +08:00
|
|
|
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2020-08-04 02:58:33 +08:00
|
|
|
2020-08-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Increase the size of the main memory region
|
|
|
|
to 0xFAC0.
|
|
|
|
|
2020-07-28 17:36:10 +08:00
|
|
|
2020-08-05 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (put_op): For unsigned multiplication, explicitly cast
|
|
|
|
operands to the unsigned type before multiplying.
|
|
|
|
* msp430-sim.h (struct msp430_cpu_state): Fix types used to store hwmult
|
|
|
|
operands.
|
|
|
|
|
2020-01-23 05:44:54 +08:00
|
|
|
2020-01-22 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (msp430_step_once): Ignore the carry flag when executing
|
|
|
|
an RRC instruction, if the ZC bit of the extension word is set.
|
|
|
|
|
2017-09-07 01:16:12 +08:00
|
|
|
2017-09-06 John Baldwin <jhb@FreeBSD.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2017-08-29 21:09:58 +08:00
|
|
|
2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
|
|
|
|
|
|
|
|
* sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
|
|
|
|
arguments for variadic syscall "open".
|
|
|
|
|
2016-01-22 11:17:59 +08:00
|
|
|
2016-08-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c: Delete bfd.h include.
|
|
|
|
(lookup_symbol, msp430_sim_close): Delete.
|
|
|
|
(sim_open): Change lookup_symbol to trace_sym_value.
|
|
|
|
* sim-main.h (struct sim_state): Delete symbol_table and
|
|
|
|
number_of_symbols.
|
|
|
|
(STATE_SYMBOL_TABLE, STATE_NUM_SYMBOLS, msp430_sim_close,
|
|
|
|
SIM_CLOSE_HOOK): Delete.
|
|
|
|
|
2016-01-09 17:09:35 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-10 16:50:08 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-11 04:55:44 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-11 05:52:25 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-11 06:49:48 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 18:58:01 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 17:00:53 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 18:13:37 +08:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 09:23:37 +08:00
|
|
|
2016-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-03 14:51:44 +08:00
|
|
|
2016-01-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Mark argv const.
|
|
|
|
(sim_create_inferior): Mark argv and env const.
|
|
|
|
|
2016-01-04 13:25:46 +08:00
|
|
|
2016-01-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (loader_write_mem): Delete.
|
|
|
|
(lookup_symbol): Return -1 when abfd is NULL.
|
|
|
|
(sim_open): Delete prog_bfd variable. Delete call to sim_load_file.
|
|
|
|
Delete prog_bfd check.
|
|
|
|
|
2015-12-31 12:19:01 +08:00
|
|
|
2016-01-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete trace.o.
|
|
|
|
* msp430-sim.c: Delete dis-asm.h and trace.h includes.
|
|
|
|
(sim_open): Delete msp430_trace_init call.
|
|
|
|
(msp430_dis_read): Delete function.
|
|
|
|
(msp430_step_once): Replace disassembly logic with a call
|
|
|
|
to TRACE_DISASM.
|
|
|
|
* trace.c, trace.h: Delete files.
|
|
|
|
|
2016-01-04 17:06:01 +08:00
|
|
|
2016-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-03 13:36:13 +08:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-03 06:46:16 +08:00
|
|
|
2016-01-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
|
|
|
|
LITTLE.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-12-27 14:41:27 +08:00
|
|
|
2015-12-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_dis_read): Change private_data to application_data.
|
|
|
|
(msp430_step_once): Likewise.
|
|
|
|
|
2015-04-11 07:40:34 +08:00
|
|
|
2015-12-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-hload.o.
|
|
|
|
|
2015-12-27 09:20:23 +08:00
|
|
|
2015-12-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-12-15 21:09:14 +08:00
|
|
|
2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (get_op, put_op): Fix left shift of negative value.
|
|
|
|
|
2015-12-07 18:19:19 +08:00
|
|
|
2015-12-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* msp430-sim.c (sim_open): Check for needed memory at address
|
|
|
|
0x500 not 0x200.
|
|
|
|
(get_op): Add support for F5 hardware multiply addresses.
|
|
|
|
(put_op): Likewise.
|
|
|
|
|
2015-11-16 12:06:42 +08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
|
|
|
|
sim-stop.o.
|
|
|
|
|
2015-03-23 11:10:09 +08: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 21:52:21 +08: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-24 01:58:48 +08:00
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-15 21:37:38 +08: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 23:24:21 +08: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 22:32:54 +08:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-13 00:04:42 +08:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 22:07:55 +08: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-12 00:08:11 +08: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 16:19:56 +08:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_CPU): Delete.
|
|
|
|
|
2015-04-18 16:08:56 +08:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (sim_cia): Delete.
|
|
|
|
|
2015-04-16 14:11:12 +08:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET): Delete.
|
|
|
|
|
2015-04-15 14:13:23 +08: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 14:38:57 +08:00
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-07 11:40:00 +08:00
|
|
|
2015-04-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
|
|
|
|
|
2015-04-01 14:34:00 +08:00
|
|
|
2015-04-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
|
|
|
|
|
2015-04-01 11:32:49 +08:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-03-23 12:08:25 +08:00
|
|
|
2015-03-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h: Delete run-sim.h include.
|
|
|
|
|
2015-03-15 11:41:25 +08:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2014-03-08 13:56:53 +08: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 16:46:01 +08:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_RUN_OBJS): Delete.
|
|
|
|
|
2015-02-24 18:27:07 +08: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 20:29:56 +08:00
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-08-19 18:34:14 +08: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-16 06:46:40 +08:00
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
2014-06-03 16:00:57 +08: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-13 07:05:19 +08: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 15:53:16 +08: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 13:20:11 +08: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 12:29:37 +08: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 08:32:27 +08:00
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2013-06-21 18:59:14 +08: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.
|