2021-06-20 01:04:34 -04:00
|
|
|
2021-06-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Change to
|
|
|
|
@SIM_RX_CYCLE_ACCURATE_FLAGS@.
|
|
|
|
* configure.ac: Delete most content. Moved sim-rx-cycle-accurate
|
|
|
|
to ...
|
|
|
|
* acinclude.m4: ... here.
|
|
|
|
* aclocal.m4: Removed.
|
|
|
|
* configure: Removed.
|
|
|
|
|
2021-06-19 21:33:30 -04:00
|
|
|
2021-06-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
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-20 00:50:30 -04:00
|
|
|
2021-06-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in: Rename sim_cycle_accurate_flags to
|
|
|
|
sim_rx_cycle_accurate_flags.
|
|
|
|
* configure.ac: Likewise.
|
|
|
|
* 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.
|
|
|
|
|
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: 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.
|
|
|
|
|
2021-06-13 01:32:33 -04:00
|
|
|
2021-06-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Set to @sim_cycle_accurate_flags@.
|
|
|
|
* configure.ac: Move CYCLE_ACCURATE define from AC_DEFINE to
|
|
|
|
AC_SUBST.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-06-12 12:01:27 -04:00
|
|
|
2021-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* README.txt: Change cycle-stats to sim-profile.
|
|
|
|
* configure.ac: Delete cycle-stats.
|
|
|
|
* mem.c: Change CYCLE_STATS to WITH_PROFILE
|
|
|
|
* rx.c: Likewise.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
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.
|
|
|
|
|
2021-05-01 18:05:23 -04:00
|
|
|
2021-05-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* err.c: Include defs.h.
|
|
|
|
* fpu.c, gdb-if.c, load.c, main.c, mem.c, misc.c, reg.c, rx.c,
|
|
|
|
syscalls.c, trace.c: Replace config.h include with 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>
|
|
|
|
|
|
|
|
* gdb-if.c: Update include path.
|
|
|
|
* load.h: Likewise.
|
|
|
|
* syscalls.c: Likewise.
|
|
|
|
|
2021-05-05 14:54:33 -04:00
|
|
|
2021-05-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c: Include libiberty.h.
|
|
|
|
(sim_do_command): Rewrite to use buildargv.
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
* load.c (rx_load): Use BFD_VMA_FMT and drop casts.
|
|
|
|
|
2021-05-03 10:54:08 -04:00
|
|
|
2021-05-03 Simon Marchi <simon.marchi@polymtl.ca>
|
|
|
|
|
|
|
|
* trace.c (op_printf): Likewise.
|
|
|
|
|
2021-05-01 16:30:59 -04:00
|
|
|
2021-05-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-05-01 16:03:10 -04:00
|
|
|
2021-05-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* load.c (rx_load): Cast size to long.
|
|
|
|
|
2021-04-25 18:11:35 -04:00
|
|
|
2021-04-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (NL_TARGET): Delete.
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
* configure, config.in: Rebuild.
|
|
|
|
|
2021-04-22 19:51:54 -06:00
|
|
|
2021-04-22 Tom Tromey <tom@tromey.com>
|
|
|
|
|
|
|
|
* Makefile.in (LIBS): Remove.
|
|
|
|
|
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 (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
|
|
|
|
(misc.o, reg.o, rx.o, syscalls.o, trace.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-20 09:21:28 -04:00
|
|
|
2021-04-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Delete AC_CHECK_HEADERS_ONCE.
|
|
|
|
* main.c: Delete HAVE_GETOPT_H.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2021-04-18 23:44:36 -04:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-18 22:35:19 -04:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (NL_TARGET): Define.
|
|
|
|
(syscalls.o): Delete syscall.h.
|
|
|
|
* syscalls.c: Change syscall.h include to targ-vals.h.
|
|
|
|
(rx_syscall): Add TARGET_ prefix to all SYS_ constants.
|
|
|
|
* syscall.h: Removed.
|
|
|
|
|
2021-04-18 21:50:07 -04:00
|
|
|
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-04-09 11:39:00 -03:00
|
|
|
2021-04-09 Luis Machado <luis.machado@linaro.org>
|
|
|
|
|
|
|
|
* fpu.c (rxfp_itof): Initialize structure.
|
|
|
|
|
2021-01-17 14:45:25 -05:00
|
|
|
2021-04-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
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-13 02:42:50 -05:00
|
|
|
2021-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* trace.c (load_file_and_line): Use fread return value to index
|
|
|
|
the data.
|
|
|
|
|
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-02-01 11:39:39 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
|
|
|
|
|
2021-02-01 11:37:46 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* mem.c (mem_put_blk): Rename parameter, add cast from parameter
|
|
|
|
type to local type. Remove cast later in the function.
|
|
|
|
(mem_get_blk): Likewise.
|
|
|
|
* mem.h (mem_put_blk): Rename parameter to match definition.
|
|
|
|
(mem_get_blk): Likewise.
|
|
|
|
|
2021-02-01 11:28:09 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* load.c: Replace 'elf/internal.h' and 'elf/common.h' includes
|
|
|
|
with 'elf-bfd.h' include.
|
|
|
|
* trace.c: Add 'trace.h' include.
|
|
|
|
|
2021-02-01 11:23:53 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* reg.c (trace_register_changes): Use PRIx64 in printf format
|
|
|
|
string.
|
|
|
|
|
2021-02-01 11:16:29 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* syscalls.c (rx_syscall): Move declaration of some variables to
|
|
|
|
the start of the enclosing block.
|
|
|
|
* trace.c (load_file_and_line): Likewise.
|
|
|
|
|
2021-02-01 11:12:56 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* reg.c (fpsw2str): Provide a format string to printf.
|
|
|
|
(trace_register_changes): Likewise.
|
|
|
|
|
2021-01-28 17:29:11 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* err.c (execution_error_exit_all): Delete.
|
|
|
|
|
2021-01-28 17:27:44 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* fpu.c (check_exceptions): Make static.
|
|
|
|
* gdb-if.c (handle_step): Likewise.
|
|
|
|
* mem.c (mem_put_byte): Likewise.
|
|
|
|
|
2021-01-28 17:24:45 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* cpu.h (trace_register_changes): Add void parameter type.
|
|
|
|
* err.c (ee_overrides): Likewise.
|
|
|
|
* mem.c (mem_usage_stats): Likewise.
|
|
|
|
(e): Likewise.
|
|
|
|
* reg.c (stack_heap_stats): Likewise.
|
|
|
|
* rx.c (pop): Likewise.
|
|
|
|
(poppc): Likewise.
|
|
|
|
(decode_opcode): Likewise.
|
|
|
|
* syscalls.c (arg): Likewise.
|
|
|
|
|
2021-01-28 17:17:08 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_do_command): Work with a copy of the command.
|
|
|
|
|
2021-01-25 18:58:37 +00:00
|
|
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_memory_map): New function.
|
|
|
|
|
2021-01-17 13:39:03 -05:00
|
|
|
2021-02-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-09 14:16:10 -05:00
|
|
|
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2021-01-09 03:56:10 -05:00
|
|
|
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
* main.c: Delete HAVE_STDLIB_H.
|
|
|
|
|
2021-01-09 02:12:27 -05:00
|
|
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2017-02-13 00:12:35 -05:00
|
|
|
2017-02-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* rx.c: Include libiberty.h.
|
|
|
|
(N_RXO, N_RXT): Use ARRAY_SIZE.
|
|
|
|
|
2016-07-27 09:00:03 +09:30
|
|
|
2016-07-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* load.c: Don't include libbfd.h.
|
|
|
|
(rx_load): Don't use private iovec seek or read.
|
|
|
|
|
2016-04-27 12:37:11 +01:00
|
|
|
2016-04-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
PR target/20000
|
|
|
|
* fpu.c (check_exceptions): Fix typo checking for signalling
|
|
|
|
NANs.
|
|
|
|
|
2016-01-09 04:09:35 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, 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-09 05:58:01 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* 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-10 16:52:25 -05:00
|
|
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-10 17:49:48 -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>
|
|
|
|
|
|
|
|
* gdb-if.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 00:36:13 -05:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-12-26 20:20:23 -05:00
|
|
|
2015-12-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-11-10 16:07:17 +00:00
|
|
|
2015-11-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (id_names): Add nop4, nop5, nop6 and nop7.
|
|
|
|
(decode_opcode): Likewise.
|
|
|
|
(get_op): Handle RX_Operand_Zero_Indirect.
|
|
|
|
Handle RX_Bad_Size and RX_MAX_SIZE.
|
|
|
|
(put_op): Likewise.
|
|
|
|
(N_MAP): Increase to 90.
|
|
|
|
|
2015-06-23 23:43:48 +05:45
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
|
|
|
|
(AC_ARG_ENABLE(cycle-stats)): Likewise.
|
|
|
|
* 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-24 15:31:36 +01:00
|
|
|
2015-04-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
PR sim/18273
|
|
|
|
* reg.c (put_reg): Fix check for valid register number.
|
|
|
|
|
2015-04-13 02:38:57 -04:00
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-03-31 23:32:49 -04:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-03-14 23:41:25 -04:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2015-01-15 07:14:45 +04:00
|
|
|
2015-12-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
* gdb-if.c (open): Rename to...
|
|
|
|
(rx_sim_is_open): This. Replace all uses of "open" by uses of
|
|
|
|
"rx_sim_is_open" throughout.
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_do_command): Add const to cmd. Move args
|
|
|
|
to top and add const. Call strdup on cmd and free at end.
|
|
|
|
|
2014-02-20 00:13:48 -05:00
|
|
|
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_load): Add const to prog.
|
|
|
|
|
2014-02-17 18:15:56 -07:00
|
|
|
2014-02-17 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* gdb-if.c (rx_signal_to_host): Rename to
|
|
|
|
`rx_signal_to_gdb_signal'. Make static. Update all callers
|
|
|
|
to use new name. Use signal names from include/gdb/signals.h.
|
|
|
|
|
2013-09-23 00:32:27 +00:00
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-06-28 07:19:44 +00:00
|
|
|
2013-06-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (SHIFT_OP): A shift by zero still sets the condition
|
|
|
|
codes.
|
|
|
|
|
2013-06-05 01:42:13 +00:00
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2013-01-16 10:45:22 +00:00
|
|
|
2013-01-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (decode_opcode): Handle RXO_satr.
|
|
|
|
|
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.
|
|
|
|
|
2012-03-23 04:00:59 +00:00
|
|
|
2012-03-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
|
|
|
|
(CYCLE_STATS): Likewise.
|
|
|
|
|
2012-03-03 01:23:45 +00:00
|
|
|
2012-03-02 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* load.h (rx_load): Add `callback' parameter to function prototype.
|
|
|
|
(gdb/callback.h): Include.
|
|
|
|
* load.c (load.h): Include.
|
|
|
|
(xprintf, find_section_name_by_offset): New functions.
|
|
|
|
(rx_load): Add `callback' parameter. Add code for printing
|
|
|
|
section loaded using GDB's printf facilities.
|
|
|
|
* gdb-if.c (sim_load, sim_create_inferior): Update calls to
|
|
|
|
rx_load().
|
|
|
|
* main.c (main): Likewise.
|
|
|
|
* syscalls.c, syscalls.h (get_callbacks): New function.
|
|
|
|
|
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.
|
|
|
|
|
2011-07-11 19:00:17 +00:00
|
|
|
2011-07-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Rename from configure.in.
|
|
|
|
|
2011-07-11 18:45:45 +00:00
|
|
|
2011-07-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.in: Add "dnl" before copyright notice.
|
|
|
|
|
2011-04-16 18:16:36 +00:00
|
|
|
2011-04-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_complete_command): New stub function.
|
|
|
|
|
2011-01-11 14:19:34 +00:00
|
|
|
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_store_register): Update return value to
|
|
|
|
match new API.
|
|
|
|
|
2010-12-14 23:12:20 +00:00
|
|
|
2010-12-14 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (decode_opcode): For "MVFC PC,", use the address of the
|
|
|
|
opcode, not the address following the opcode.
|
2010-12-14 23:39:03 +00:00
|
|
|
(decode_opcode): RXO_branchrel is relative to the opcode's PC, not
|
|
|
|
the address following the opcode.
|
2010-12-14 23:12:20 +00:00
|
|
|
|
2010-11-12 01:01:12 +00:00
|
|
|
2010-11-11 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (lsb_count): New.
|
|
|
|
(divu_cycles): New.
|
|
|
|
(div_cycles): New.
|
|
|
|
(decode_opcode): Fix cycle count math for div, divu, suntil, and
|
|
|
|
swhile.
|
|
|
|
|
2010-09-30 00:03:23 +00:00
|
|
|
2010-09-29 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* mem.c (rx_mem_ptr): When invalidating the decode cache, account
|
|
|
|
for the fact that the instruction decoder never uses swapped
|
|
|
|
addresses.
|
|
|
|
|
2010-09-29 15:47:45 +00:00
|
|
|
2010-09-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (decode_opcode: RXO_int): Only break out of the emulation
|
|
|
|
loop if rx_syscall() does not return a RX_STEPPED result.
|
|
|
|
|
2010-09-24 05:18:23 +00:00
|
|
|
2010-09-23 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (decode_opcode): Add cycle information for RXO_smovu.
|
|
|
|
|
2010-09-23 23:05:28 +00:00
|
|
|
2010-09-23 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
|
|
|
|
|
2010-09-24 04:45:08 +00:00
|
|
|
* rx.c (decode_opcode): Declare `tx' as unsigned.
|
2010-09-23 23:26:42 +00:00
|
|
|
|
2010-09-23 23:42:53 +00:00
|
|
|
* cpu.h (reset_decoder): Declare.
|
|
|
|
* load.c (rx_load): Call `reset_decoder'.
|
|
|
|
* rx.c (reset_decoder): New function.
|
|
|
|
|
[include/opcode]
* rx.h (RX_Operand_Type): Add TwoReg.
(RX_Opcode_ID): Remove ediv and ediv2.
[opcodes]
* rx-decode.opc (SRR): New.
(rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov
r0,r0) and NOP3 (max r0,r0) special cases.
* rx-decode.c: Regenerate.
[sim/rx]
* rx.c (decode_cache_base): New.
(id_names): Remove ediv and edivu.
(optype_names): Add TwoReg.
(maybe_get_mem_page): New.
(rx_get_byte): Call it.
(get_op): Add TwoReg support.
(put_op): Likewise.
(PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
is a pointer now.
(DO_RETURN): New. We use longjmp to return an exception result.
(decode_opcode): Make opcode a pointer to the decode cache. Save
decoded opcode information and re-use. Call DO_RETURN instead of
return throughout. Remove ediv and edivu.
* mem.c (ptdc): New. Adds decode cache.
(rx_mem_ptr): Support it.
(rx_mem_decode_cache): New.
* mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
(rx_mem_decode_cache): Declare.
* gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
* main.c (main): ...and here. Use a fast loop if neither trace
nor disassemble is given.
* cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
valid code for anything.
2010-07-29 18:41:28 +00:00
|
|
|
2010-07-29 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* rx.c (decode_cache_base): New.
|
|
|
|
(id_names): Remove ediv and edivu.
|
|
|
|
(optype_names): Add TwoReg.
|
|
|
|
(maybe_get_mem_page): New.
|
|
|
|
(rx_get_byte): Call it.
|
|
|
|
(get_op): Add TwoReg support.
|
|
|
|
(put_op): Likewise.
|
|
|
|
(PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
|
|
|
|
is a pointer now.
|
|
|
|
(DO_RETURN): New. We use longjmp to return an exception result.
|
|
|
|
(decode_opcode): Make opcode a pointer to the decode cache. Save
|
|
|
|
decoded opcode information and re-use. Call DO_RETURN instead of
|
|
|
|
return throughout. Remove ediv and edivu.
|
|
|
|
* mem.c (ptdc): New. Adds decode cache.
|
|
|
|
(rx_mem_ptr): Support it.
|
|
|
|
(rx_mem_decode_cache): New.
|
|
|
|
* mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
|
|
|
|
(rx_mem_decode_cache): Declare.
|
|
|
|
* gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
|
|
|
|
* main.c (main): ...and here. Use a fast loop if neither trace
|
|
|
|
nor disassemble is given.
|
|
|
|
* cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
|
|
|
|
RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
|
|
|
|
valid code for anything.
|
|
|
|
|
2010-07-28 21:58:22 +00:00
|
|
|
2010-07-27 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* README.txt: New.
|
|
|
|
* config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
|
|
|
|
* configure.in (--enable-cycle-accurate, --enable-cycle-stats):
|
|
|
|
New. Default to enabled.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
* cpu.h (regs_type): Add cycle tracking info.
|
|
|
|
(reset_pipeline_stats): Declare.
|
|
|
|
(halt_pipeline_stats): Declare.
|
|
|
|
(pipeline_stats): Declare.
|
|
|
|
* main.c (done): Call pipeline_stats().
|
|
|
|
* mem.h (rx_mem_ptr): Moved to here ...
|
|
|
|
* mem.c (mem_ptr): ... from here. Rename throughout.
|
|
|
|
(mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
|
|
|
|
statistics. Move UART to SCI4.
|
|
|
|
(mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
|
|
|
|
* reg.c (init_regs): Set Rt reg to -1 (no reg).
|
|
|
|
* rx.c: Add cycle counting and statistics throughout.
|
|
|
|
(rx_get_byte): Optimize for speed.
|
|
|
|
(decode_opcode): Likewise.
|
|
|
|
(reset_pipeline_stats): New.
|
|
|
|
(halt_pipeline_stats): New.
|
|
|
|
(pipeline_stats): New.
|
|
|
|
* trace.c (sim_disasm_one): Print cycle count.
|
|
|
|
|
2010-07-07 23:22:43 +00:00
|
|
|
2010-07-07 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
|
|
|
|
|
2010-06-24 20:38:05 +00:00
|
|
|
2010-06-24 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* gdb-if.c (trace.h): Include.
|
|
|
|
(reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
|
|
|
|
|
2010-06-08 10:15:48 +00:00
|
|
|
2010-06-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* reg.c (set_oszc): Use unsigned int for the mask.
|
|
|
|
(set_szc, set_osz, set_sz): Likewise.
|
|
|
|
|
2010-05-28 17:10:32 +00:00
|
|
|
2010-05-28 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
|
|
|
|
|
2010-04-14 07:38:06 +00:00
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_write): Add const to buf arg.
|
|
|
|
|
2010-02-14 07:37:11 +00:00
|
|
|
2010-01-30 Masaki Muranaka <monaka@monami-software.com>
|
|
|
|
|
2015-07-24 04:08:12 -07:00
|
|
|
* configure.in: Check if the host has getopt.h.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Regenerate.
|
|
|
|
* main.c: Include config.h.
|
2010-02-14 07:37:11 +00:00
|
|
|
Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
|
|
|
|
Include getopt.h in case HAVE_GETOPT_H is defined.
|
|
|
|
|
2009-12-23 03:51:47 +00:00
|
|
|
2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
|
|
|
|
|
|
* rx/rx.c (decode_opcode): btst bit address mask fix.
|
|
|
|
|
2009-11-30 23:37:39 +00:00
|
|
|
2009-11-30 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* rx/rx.c (decode_opcode): fix SWHILE logic.
|
|
|
|
|
2009-11-24 19:22:45 +00:00
|
|
|
2009-10-27 DJ Delorie <dj@redhat.com>
|
|
|
|
Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* load.h: New.
|
|
|
|
* rx.c: New.
|
|
|
|
* syscalls.c: New.
|
|
|
|
* syscalls.h: New.
|
|
|
|
* load.c: New.
|
|
|
|
* configure.in: New.
|
|
|
|
* gdb-if.c: New.
|
|
|
|
* err.c: New.
|
|
|
|
* cpu.h: New.
|
|
|
|
* Makefile.in: New.
|
|
|
|
* fpu.c: New.
|
|
|
|
* mem.c: New.
|
|
|
|
* config.in: New.
|
|
|
|
* err.h: New.
|
|
|
|
* reg.c: New.
|
|
|
|
* mem.h: New.
|
|
|
|
* main.c: New.
|
|
|
|
* misc.h: New.
|
|
|
|
* trace.c: New.
|
|
|
|
* misc.c: New.
|
|
|
|
* syscall.h: New.
|
|
|
|
* trace.h: New.
|
|
|
|
* fpu.h: New.
|