2021-06-19 21:33:30 -04:00
|
|
|
2021-06-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Removed.
|
|
|
|
* aclocal.m4: Removed.
|
|
|
|
* configure: Removed.
|
|
|
|
|
2021-06-19 20:06:12 -04:00
|
|
|
2021-06-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-19 19:36:39 -04:00
|
|
|
2021-06-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-19 01:36:30 -04:00
|
|
|
2021-06-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_COMMON): Delete.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-15 22:45:07 -04:00
|
|
|
2021-06-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 02:03:44 -04:00
|
|
|
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 01:58:00 -04:00
|
|
|
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-18 01:14:39 -04:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-18 02:14:52 -04:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-13 23:16:32 -04:00
|
|
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Include sim-signal.h.
|
|
|
|
* simops.c: Likewise.
|
|
|
|
|
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-15 19:51:52 -04:00
|
|
|
2021-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
|
|
|
|
* interp.c (sim_open): Set current_target_byte_order.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-06-15 22:48:50 -04:00
|
|
|
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-06-13 01:54:48 -04:00
|
|
|
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Removed.
|
|
|
|
|
2021-06-13 01:52:01 -04:00
|
|
|
2021-06-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, 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 00:54:20 -04:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
|
|
|
|
|
2021-06-06 18:45:05 -04:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2021-05-17 20:34:52 -04:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-21 22:51:00 -05:00
|
|
|
2021-05-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
|
|
|
|
|
2016-01-21 21:00:25 -05:00
|
|
|
2021-05-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
|
|
|
|
(struct sim_state): Delete.
|
|
|
|
|
2021-05-01 18:05:23 -04:00
|
|
|
2021-05-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h: Delete config.h include.
|
|
|
|
* gencode.c: Replace config.h include with defs.h.
|
|
|
|
(write_template): Output defs.h include.
|
|
|
|
(write_opcodes): Likewise.
|
|
|
|
* interp.c: Replace config.h include with defs.h.
|
|
|
|
* simops.c: Include defs.h.
|
|
|
|
|
2021-05-15 23:50:33 -04:00
|
|
|
2021-05-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-05-12 00:35:54 -04:00
|
|
|
2021-05-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in: Update path.
|
|
|
|
* cr16_sim.h: Update include path.
|
|
|
|
* interp.c: Likewise.
|
|
|
|
|
2021-05-01 17:16:23 -04:00
|
|
|
2021-05-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-05-03 23:27:16 -04:00
|
|
|
2021-05-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_create_inferior): Use BFD_VMA_FMT and drop cast.
|
|
|
|
|
2021-05-01 16:30:59 -04:00
|
|
|
2021-05-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-04-23 16:24:27 -04: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-22 19:51:54 -06:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* simops.c: Update includes.
|
|
|
|
* configure, config.in: Rebuild.
|
|
|
|
|
Remove and modernize dependencies in sim
Some spots in the sim build used manual dependencies, and some spots
did a compilation by hand but did not use the automatic dependency
tracking code. This patch fixes these spots.
I didn't touch ppc, because it doesn't use the common Makefile code.
I also didn't touch objects that are for the build machine, because
automatic dependencies don't work for those.
sim/arm/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
POSTCOMPILE.
sim/bpf/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (arch.o, cpu.o, sim-if.o, traps.o): Remove.
(mloop-le.o, mloop-be.o, decode-le.o, decode-be.o, sim-le.o)
(sim-be.o): Use COMPILE and POSTCOMPILE.
(SIM_EXTRA_DEPS): Add eng-le.h, eng-be.h.
sim/cr16/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (SIM_EXTRA_DEPS): New variable.
(simops.o): Remove.
sim/cris/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (sim-if.o, dv-cris.o, dv-rv.o, arch.o, traps.o)
(devices.o, crisv10f.o, mloopv10f.o, cpuv10.o, decodev10.o)
(modelv10.o, crisv32f.o, mloopv32f.o, cpuv32.o, decodev32.o)
(modelv32.o): Remove.
(SIM_EXTRA_DEPS): Add engv10.h.
sim/d10v/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (SIM_EXTRA_DEPS): New variable.
(simops.o): Remove.
sim/frv/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (arch.o, devices.o, frv.o, traps.o, pipeline.o)
(interrupts.o, memory.o, cache.o, options.o, reset.o)
(registers.o, profile.o, profile-fr400.o, profile-fr450.o)
(profile-fr500.o, profile-fr550.o, sim-if.o, mloop.o, cpu.o)
(decode.o, sem.o, model.o): Remove.
(SIM_EXTRA_DEPS): Add eng.h.
sim/iq2000/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (sim-if.o): Remove.
(arch.o): Use COMPILE and POSTCOMPILE.
(devices.o, iq2000.o, mloop.o, cpu.o, decode.o, sem.o, model.o):
Remove.
(SIM_EXTRA_DEPS): Add eng.h.
sim/lm32/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (arch.o, traps.o, sim-if.o, lm32.o, mloop.o)
(cpu.o, decode.o, sem.o, model.o): Remove.
(SIM_EXTRA_DEPS): Add eng.h.
sim/m32r/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (sim-if.o, arch.o, traps.o, traps-linux.o)
(devices.o, m32r.o, mloop.o, cpu.o, decode.o, sem.o, model.o)
(m32rx.o, mloopx.o, cpux.o, decodex.o, semx.o, modelx.o)
(m32r2.o, mloop2.o, cpu2.o, decode2.o, sem2.o, model2.o): Remove.
(SIM_EXTRA_DEPS): Add eng.h, engx.h, eng2.h.
sim/m68hc11/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (interp.o): Remove.
sim/mips/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (interp.o, m16run.o, micromipsrun.o, multi-run.o):
Remove.
(SIM_EXTRA_DEPS): New variable.
sim/mn10300/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (interp.o): Remove.
(idecode.o op_utils.o semantics.o): Remove.
sim/or1k/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (mloop.o, arch.o, cpu.o, decode.o, sem.o)
(sem-switch.o, model.o): Remove.
sim/rl78/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
(reg.o, rl78.o): Remove.
sim/rx/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
(misc.o, reg.o, rx.o, syscalls.o, trace.o): Remove.
sim/sh/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (SIM_EXTRA_DEPS): New variable.
(interp.o): Remove.
sim/v850/ChangeLog
2021-04-22 Tom Tromey <tom@tromey.com>
* Makefile.in (interp.o, simops.o, semantics.o): Remove.
2021-04-22 19:51:54 -06:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_DEPS): New variable.
|
|
|
|
(simops.o): Remove.
|
|
|
|
|
2021-04-22 19:51:54 -06:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
2021-04-21 20:39:24 -04:00
|
|
|
2021-04-21 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
2021-04-21 14:51:10 -04:00
|
|
|
2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-18 21:50:07 -04:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-18 21:01:00 -04:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Use PRIx64 to match mcode type. Skip the
|
|
|
|
current simop when it doesn't match a known hash table.
|
|
|
|
* configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-08-12 22:12:41 +08:00
|
|
|
2021-04-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
|
|
|
|
|
2021-01-17 14:45:25 -05:00
|
|
|
2021-04-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-03-08 01:41:35 -05:00
|
|
|
2021-03-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (gencode.o, cr16-opc.o): Call COMPILE_FOR_BUILD.
|
|
|
|
(gencode): Call LINK_FOR_BUILD.
|
|
|
|
|
2021-03-08 00:30:31 -05:00
|
|
|
2021-03-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (gencode): Delete $(BUILD_LIB).
|
|
|
|
|
2021-02-21 19:24:10 -05:00
|
|
|
2021-02-28 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-02-06 22:51:30 -05: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-06 19:46:16 -05:00
|
|
|
2021-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2021-01-17 13:39:03 -05:00
|
|
|
2021-02-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-09 03:56:10 -05:00
|
|
|
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
* simops.c: Delete HAVE_STRING_H & HAVE_TIME_H.
|
|
|
|
|
2021-01-09 03:10:52 -05:00
|
|
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (State): Change to an extern.
|
|
|
|
* interp.c (State): Define.
|
|
|
|
|
2021-01-09 02:12:27 -05:00
|
|
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-09 01:16:11 -05:00
|
|
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-08 02:24:51 -05:00
|
|
|
2021-01-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-03 03:09:04 -05:00
|
|
|
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2017-09-06 10:16:12 -07:00
|
|
|
2017-09-06 John Baldwin <jhb@FreeBSD.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 04:09:35 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-10 17:49:48 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-10 16:52:25 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-10 03:50:08 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-10 15:55:44 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 05:58:01 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 04:00:53 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-09 05:13:37 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-08 20:23:37 -05:00
|
|
|
2016-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2016-01-03 01:51:44 -05:00
|
|
|
2016-01-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Mark argv const.
|
|
|
|
(sim_create_inferior): Mark argv and env const.
|
|
|
|
|
2016-01-04 04:06:01 -05:00
|
|
|
2016-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-03 21:40:34 -05:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Update sim_parse_args comment.
|
|
|
|
|
2016-01-03 00:36:13 -05:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-02 17:46:16 -05:00
|
|
|
2016-01-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
|
|
|
|
LITTLE.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-10 19:40:34 -04:00
|
|
|
2015-12-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-hload.o.
|
|
|
|
|
2015-12-26 20:20:23 -05:00
|
|
|
2015-12-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-12-24 15:49:31 -05:00
|
|
|
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-if.c (cris_option_install): Delete.
|
|
|
|
(sim_open): Call sim_add_option_table.
|
|
|
|
* tconfig.h: Delete sim-module.h include.
|
|
|
|
(MODULE_INSTALL_FN, MODULE_LIST): Delete.
|
|
|
|
|
2015-11-15 20: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-11-15 03:41:26 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (cr16_callback): Delete.
|
|
|
|
* interp.c (cr16_callback): Delete.
|
|
|
|
(do_run): Delete cr16_callback. Replace
|
|
|
|
cr16_callback->printf_filtered with sim_io_printf.
|
|
|
|
(sim_open): Delete cr16_callback assignment.
|
|
|
|
(step_once, sim_create_inferior): Replace
|
|
|
|
cr16_callback->printf_filtered with sim_io_printf.
|
|
|
|
* simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
|
|
|
|
do_trace_output_finish, trace_output_40, trace_output_32,
|
|
|
|
trace_output_16, trace_output_void, trace_output_flag): Replace
|
|
|
|
cr16_callback->printf_filtered with sim_io_printf and
|
|
|
|
cr16_callback->flush_stdout with sim_io_flush_stdout.
|
|
|
|
(OP_14C_14): Likewise. Rename cr16_callback to cb.
|
|
|
|
|
2015-11-15 03:07:06 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
|
|
|
|
sim-stop.o.
|
|
|
|
* cr16_sim.h (struct _state): Delete exe and exception.
|
|
|
|
* interp.c (lookup_hash): Call sim_engine_halt instead of setting
|
|
|
|
State.exception.
|
|
|
|
(do_run): Delete unused s and func variables.
|
|
|
|
(stop_simulator, sim_stop, sim_stop_reason): Delete.
|
|
|
|
(sim_resume): Rename to ...
|
|
|
|
(step_once): ... this. Delete State.exception code and move
|
|
|
|
siggnal checking to sim_engine_run.
|
|
|
|
(sim_engine_run): New function.
|
|
|
|
* simops.c (EXCEPTION): Define.
|
|
|
|
(move_to_cr): Call EXCEPTION instead of setting State.exception.
|
|
|
|
(OP_1_4, OP_18_8, OP_10_10, OP_C0_8, OP_102_14, OP_148_14, OP_D_C,
|
|
|
|
OP_14_D, OP_15_D, OP_2C00_10, OP_16_D, OP_17_D, OP_31E_10, OP_6_10):
|
|
|
|
Likewise.
|
|
|
|
(OP_C_C): Likewise. Call sim_engine_halt instead of setting
|
|
|
|
State.exception.
|
|
|
|
(OP_0_20): Call sim_engine_halt instead of setting State.exception.
|
|
|
|
|
2015-11-15 15:57:10 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete endian.o.
|
|
|
|
(INCLUDE): Delete endian.c.
|
|
|
|
* configure.ac (SIM_AC_OPTION_ENDIAN): Declare little endian.
|
|
|
|
(SIM_AC_OPTION_ALIGNMENT): release unaligned loads.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* cr16_sim.h (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE,
|
|
|
|
IMEM_SEGMENTS, DMEM_SEGMENTS, UMEM_SEGMENTS, cr16_memory, dmem_addr,
|
|
|
|
imem_addr, decode_pc, get_longword, get_word, write_word,
|
|
|
|
write_longword, READ_16): Delete.
|
|
|
|
(struct _state): Delete mem member.
|
|
|
|
(endian.c): Delete include.
|
|
|
|
(SB, RB, SW, RW, SLW): Rewrite to use sim-core functions.
|
|
|
|
(get_longword): New function.
|
|
|
|
(RLW): Rewrite to use get_longword.
|
|
|
|
* endian.c: Delete file.
|
|
|
|
* interp.c (map_memory, sim_size, last_segname, last_from, last_to,
|
|
|
|
IMAP0_OFFSET, DMAP0_OFFSET, DMAP2_SHADDOW, DMAP2_OFFSET,
|
|
|
|
dmap_register, imap_register, sim_cr16_translate_dmap_addr,
|
|
|
|
sim_cr16_translate_imap_addr, sim_cr16_translate_addr, map_memory,
|
|
|
|
xfer_mem, sim_write, sim_read, dmem_addr, imem_addr): Delete.
|
|
|
|
(do_run): Delete iaddr and replace imem_addr/get_longword with RW.
|
|
|
|
(sim_open): Call sim_do_commandf. Delete sim_size call.
|
|
|
|
(sim_resume): Delete iaddr and replace imem_addr/get_longword with
|
|
|
|
RLW.
|
|
|
|
* simops.c (MEMPTR): Rewrite to use sim_core_trans_addr.
|
|
|
|
|
2015-11-15 02:57:42 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
|
|
|
|
(SET_CREG, SET_HW_CREG, SET_PSR_BIT): Pass sd and cpu to move_to_cr.
|
|
|
|
(dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
|
|
|
|
(RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
|
|
|
|
* endian.c: Change cr16_sim.h include to sim-main.h.
|
|
|
|
* gencode.c: Likewise. Add SIM_DESC and SIM_CPU args to all OPs.
|
|
|
|
* interp.c (lookup_hash, map_memory, do_run, dmap_register,
|
|
|
|
imap_register, sim_cr16_translate_dmap_addr, xfer_mem,
|
|
|
|
sim_cr16_translate_imap_addr, sim_cr16_translate_addr): Add
|
|
|
|
SIM_DESC and SIM_CPU args and adjust all callers.
|
|
|
|
(trace_sd): Delete.
|
|
|
|
(sim_open): Do not assign trace_sd.
|
|
|
|
(sim_resume, sim_create_inferior): Set up cpu from the first one
|
|
|
|
in sd.
|
|
|
|
(cr16_reg_store): Get sim state from cpu.
|
|
|
|
* simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
|
|
|
|
(trace_input_func, trace_input, do_trace_output_finish,
|
|
|
|
do_trace_output_finish, trace_output_40, trace_output_32,
|
|
|
|
trace_output_16, trace_output_void, trace_output_flag): Add
|
|
|
|
SIM_DESC arg.
|
|
|
|
(trace_input_func): Likewise. Change trace_sd to sd.
|
|
|
|
(OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
|
|
|
|
|
2015-11-15 12:25:29 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (get_longlong, write_longlong, WRITE_16, READ_64,
|
|
|
|
WRITE_64): Delete.
|
|
|
|
* endian.c (get_longlong, write_longlong): Likewise.
|
|
|
|
|
2015-11-15 12:22:30 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Add sim-reg.o.
|
|
|
|
* interp.c (cr16_reg_fetch, cr16_reg_store): Add prototypes.
|
|
|
|
(sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
|
|
|
|
(cr16_extract_unsigned_integer, cr16_store_unsigned_integer):
|
|
|
|
New helper functions.
|
|
|
|
(sim_fetch_register): Rename to ...
|
|
|
|
(cr16_reg_fetch): ... this. Use cr16_store_unsigned_integer
|
|
|
|
to write out the updated register values.
|
|
|
|
(sim_store_register): Rename to ...
|
|
|
|
(cr16_reg_store): ... this. Use cr16_extract_unsigned_integer
|
|
|
|
to read in the updated register values.
|
|
|
|
|
2015-11-15 03:47:10 -08:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Delete sim_create_inferior call.
|
|
|
|
|
2015-03-22 23:10:09 -04:00
|
|
|
2015-11-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_close): Delete.
|
|
|
|
|
2015-11-09 23:04:53 -08:00
|
|
|
2015-11-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_cr16_translate_dmap_addr): Mark static.
|
|
|
|
(sim_cr16_translate_imap_addr): Likewise.
|
|
|
|
(sim_cr16_translate_addr): Likewise.
|
|
|
|
|
2015-06-23 23:43:48 +05:45
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 10:32:54 -04:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 12:04:42 -04:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-18 04:19:56 -04:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_CPU): Delete.
|
|
|
|
|
2015-04-18 04:08:56 -04:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (sim_cia): Delete.
|
|
|
|
|
2015-04-16 02:11:12 -04:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET): Delete.
|
|
|
|
|
2015-04-17 02:16:10 -04:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (cr16_pc_get, cr16_pc_set): New functions.
|
|
|
|
(sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
|
|
|
|
|
2015-04-15 02:13:23 -04: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 02:38:57 -04:00
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-06 23:40:00 -04:00
|
|
|
2015-04-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-engine.o.
|
|
|
|
|
2015-03-31 01:13:12 -04:00
|
|
|
2015-04-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_set_profile, sim_set_profile_size): Delete.
|
|
|
|
|
2015-03-31 01:59:44 -04:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (simops.o): New rule.
|
|
|
|
|
2015-03-30 00:13:38 -04:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
|
|
|
|
(SEXT8, SEXT16, SEXT32): Undefine.
|
|
|
|
* interp.c: Delete run-sim.h and cr16_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_info, sim_set_callbacks,
|
|
|
|
sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
|
|
|
|
(do_run): Delete prototype.
|
|
|
|
(INLINE): Delete define.
|
|
|
|
(do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
|
|
|
|
it.
|
|
|
|
(sim_size): Mark static.
|
|
|
|
(sim_write, sim_read): Pass sd to xfer_mem.
|
|
|
|
(free_state): New function.
|
|
|
|
(trace_sd): Declare global variable.
|
|
|
|
(sim_open): Rewrite to use new common logic.
|
|
|
|
(sim_close): Delete body.
|
|
|
|
(sim_resume): Pass sd to do_run.
|
|
|
|
* 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 cr16_sim.h include to sim-main.h.
|
|
|
|
(trace_input_func): Rewrite pc checks to use trace_sd.
|
|
|
|
|
2015-03-30 00:10:27 -04:00
|
|
|
2015-03-29 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.
|
|
|
|
(sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
|
|
|
|
|
2015-03-30 00:08:46 -04:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (old_segment_mapping, ins_type_counters, add_commas,
|
|
|
|
set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
|
|
|
|
spu_register, spi_register, set_spi_register, set_spu_register):
|
|
|
|
Delete.
|
|
|
|
(sim_cr16_translate_addr): Delete old_segment_mapping handling.
|
|
|
|
(sim_open): Likewise.
|
|
|
|
(sim_info): Delete function body.
|
|
|
|
|
2015-03-29 22:41:14 -04:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
|
|
|
|
(gencode): Add $(BUILD_LDFLAGS).
|
|
|
|
* endian.c (get_word, get_longword, get_longlong, write_word,
|
|
|
|
write_longword, write_longlong): Convert old style prototypes.
|
|
|
|
* gencode.c: Include string.h.
|
|
|
|
(write_header): Convert old style prototype and fix printf format.
|
|
|
|
(write_template, write_opcodes): Likewise.
|
|
|
|
(check_opcodes): Mark static void and put behind #if 0.
|
|
|
|
* interp.c: Include inttypes.h and run-sim.h.
|
|
|
|
(add_commas): Delete prototype.
|
|
|
|
(decode_pc): Convert old style prototype.
|
|
|
|
(do_run): Change h->op compare to 0.
|
|
|
|
(add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
|
|
|
|
HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
|
|
|
|
set_spu_register): Wrap in #if 0.
|
|
|
|
(sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
|
|
|
|
sim_stop_reason, sim_fetch_register, sim_store_register,
|
|
|
|
sim_do_command): Convert old style prototypes.
|
|
|
|
(sim_create_inferior): Fix pointer cast to use uintptr_t.
|
|
|
|
* simops.c [HAVE_TIME_H]: Include time.h.
|
|
|
|
[HAVE_SYS_TIME_H]: Include sys/time.h.
|
|
|
|
[TARGET_SYS_utime]: Include utime.h.
|
|
|
|
[TARGET_SYS_wait]: Include sys/wait.h.
|
|
|
|
(strrchr): Delete prototype.
|
|
|
|
(cond_stat): Mark static.
|
|
|
|
(trace_input_func): Mark name static.
|
|
|
|
(trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
|
|
|
|
(trace_output_40): Wrap in #if 0.
|
|
|
|
(OP_*): Convert old style prototypes. Move trace_input call below
|
|
|
|
all variable decls. Initialize tmp to 0 when appropriate.
|
|
|
|
|
2015-03-29 22:42:33 -04:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
|
|
|
|
(interp.o, simops.o, endian.o, table.o): Delete rules.
|
|
|
|
* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
|
|
|
|
SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
|
|
|
|
SIM_AC_OPTION_INLINE.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
* interp.c (sim_trace): Define.
|
|
|
|
|
2015-03-14 23:41:25 -04:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-02-19 03:46:01 -05:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Add
|
|
|
|
-DSIM_USE_DEPRECATED_RUN_FRONTEND.
|
|
|
|
(SIM_RUN_OBJS): Set to run.o.
|
|
|
|
|
2015-02-19 03:50:11 -05:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (AC_CHECK_HEADERS): Delete.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2014-08-19 21:59:56 +09:30
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-08-15 15:46:40 -07:00
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
2014-02-20 00:28:17 -05:00
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_do_command): Add const to cmd.
|
|
|
|
|
2014-02-20 00:13:48 -05:00
|
|
|
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_load): Add const to prog.
|
|
|
|
|
2014-02-19 22:29:37 -05:00
|
|
|
2014-03-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-09-23 00:32:27 +00:00
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-06-05 01:42:13 +00:00
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2013-05-10 16:10:40 +00:00
|
|
|
2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
|
|
|
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
2012-08-30 06:09:45 +00:00
|
|
|
2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
|
|
|
|
|
2012-08-30 06:10:28 +00:00
|
|
|
* cr16_sim.h: Add defines for TRAP handling.
|
2012-08-30 06:09:45 +00:00
|
|
|
* interp.c (sim_complete_command): New stub function.
|
2012-08-30 06:10:28 +00:00
|
|
|
* simops.c: Breakpoint handling code.
|
2012-08-30 06:09:45 +00:00
|
|
|
|
2012-06-17 23:34:17 +00:00
|
|
|
2012-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Include config.h first. Also include stdlib.h and
|
|
|
|
string.h so we can drop the sysdep.h include.
|
|
|
|
|
Define PACKAGE macro in all sims' config.h.
Some of the common includes in include/gdb such as callback.h
include bfd.h. But there was a recent change in bfd-in.h to
require that config.h be included before bfd.h can be included:
/* PR 14072: Ensure that config.h is included first. */
#if !defined PACKAGE && !defined PACKAGE_VERSION
#error config.h must be included before this header
#endif
PACKAGE_VERSION is always defined by default by the AC_INIT autoconf
macro, but PACKAGE isn't. This patch updates the SIM_AC_COMMON macro
to define it, and then regenerates all configure scripts and config.in
files.
sim/common/changeLog:
* acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
* config.in, configure: Regenerate.
sim/ChangeLog:
* configure: Regenerate.
sim/arm/ChangeLog:
* config.in, configure: Regenerate.
sim/avr/ChangeLog:
* config.in, configure: Regenerate.
sim/bfin/ChangeLog:
* config.in, configure: Regenerate.
sim/cr16/ChangeLog:
* config.in, configure: Regenerate.
sim/cris/ChangeLog:
* config.in, configure: Regenerate.
sim/d10v/ChangeLog:
* config.in, configure: Regenerate.
sim/erc32/ChangeLog:
* config.in, configure: Regenerate.
sim/frv/ChangeLog:
* config.in, configure: Regenerate.
sim/h8300/ChangeLog:
* config.in, configure: Regenerate.
sim/iq2000/ChangeLog:
* config.in, configure: Regenerate.
sim/lm32/ChangeLog:
* config.in, configure: Regenerate.
sim/m32c/ChangeLog:
* config.in, configure: Regenerate.
sim/m32r/ChangeLog:
* config.in, configure: Regenerate.
sim/m68hc11/ChangeLog:
* config.in, configure: Regenerate.
sim/mcore/ChangeLog:
* config.in, configure: Regenerate.
sim/microblaze/ChangeLog:
* config.in, configure: Regenerate.
sim/mips/ChangeLog:
* config.in, configure: Regenerate.
sim/mn10300/ChangeLog:
* config.in, configure: Regenerate.
sim/moxie/ChangeLog:
* config.in, configure: Regenerate.
sim/ppc/ChangeLog:
* configure: Regenerate.
sim/rl78/ChangeLog:
* config.in, configure: Regenerate.
sim/rx/ChangeLog:
* config.in, configure: Regenerate.
sim/sh/ChangeLog:
* config.in, configure: Regenerate.
sim/sh64/ChangeLog:
* config.in, configure: Regenerate.
sim/v850/ChangeLog:
* config.in, configure: Regenerate.
sim/testsuite/ChangeLog:
* configure: Regenerate.
2012-06-15 17:20:10 +00:00
|
|
|
2012-06-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2012-05-24 16:51:47 +00:00
|
|
|
2012-05-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
PR gdb/7205
|
|
|
|
|
2015-07-24 04:08:12 -07:00
|
|
|
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
|
2012-05-24 16:51:47 +00:00
|
|
|
|
2012-03-24 05:38:43 +00:00
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2011-12-30 09:12:36 +00:00
|
|
|
2011-12-30 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
PR sim/12862
|
|
|
|
* simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
|
|
|
|
TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
|
|
|
|
are defined.
|
|
|
|
|
2011-12-03 18:23:51 +00:00
|
|
|
2011-12-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: New file.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2011-10-18 00:31:00 +00:00
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Change include to common/acinclude.m4.
|
|
|
|
|
2011-10-18 00:17:24 +00:00
|
|
|
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.
|
|
|
|
|
2010-04-14 07:38:06 +00:00
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_write): Add const to buffer arg.
|
|
|
|
|
2010-01-09 21:11:44 +00:00
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
2009-08-22 16:56:56 +00:00
|
|
|
* config.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
* configure: Regenerate.
|
|
|
|
|
2008-07-11 01:32:00 +00:00
|
|
|
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
2008-07-11 02:41:22 +00:00
|
|
|
* configure: Regenerate to track ../common/common.m4 changes.
|
|
|
|
* config.in: Ditto.
|
|
|
|
|
2008-07-11 01:32:00 +00:00
|
|
|
* interp.c (hash): Remove incorrect prototype.
|
|
|
|
|
2008-06-07 01:31:27 +00:00
|
|
|
2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
2015-07-24 04:08:12 -07:00
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
2008-06-07 01:31:27 +00:00
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2008-05-05 09:35:16 +00:00
|
|
|
2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
|
|
|
* interp.c: Update the machine code decode algorithm using hash table.
|
|
|
|
* Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
|
|
|
|
and coding standards.
|
|
|
|
|
2008-04-08 09:20:06 +00:00
|
|
|
2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
2015-07-24 04:08:12 -07:00
|
|
|
* ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
|
2008-04-08 09:20:06 +00:00
|
|
|
gencode.c, interp.c, simops.c, endian.c: Created.
|