binutils-gdb/sim/frv
Hans-Peter Nilsson 105dd264de Fix frv-elf sim, default hardware to off.
At 2974be626, frv-elf fails at the dv_sockser_install declaration in
sim/frv/tconfig.in.  But, with the trivial #include's added (see other
sims tconfig.in, like cris or mn10300), it *still* fails building
sim/frv/devices.c because of a missing UART_INCHAR_ADDR.  I have no
insight into what'd be a valid value, except that there's a definition
in m32r, which was probably used as a template with frv not finished.
Simulated hardware should not have been be enabled, and was indeed not
enabled by default before 94c63d78f (2013-03-23), where it seems to
have been enabled for no simulator-specific reason.  Except
dv-sockser.o wasn't enabled even then: sim/frv/config.in wasn't
regenerated, so HAVE_DV_SOCKSER was never defined.  Maybe people were
fooled by this in sim/frv/Makefile.in at that time (these two lines
were later deleted, in 73e76d20):
CONFIG_DEVICES = dv-sockser.o
CONFIG_DEVICES =
(As it seems people have missed it before: the second line overrides
the first...)  I'm guessing these lines were part of the
never-completed hardware-support.  Commit 73e76d20 attempted to move
the imagined dv-sockser.o from $(CONFIG_DEVICES) to $(frv_extra_objs)
but missed that AC_SUBST would only affect @frv_extra_objs@ (not
$(frv_extra_objs) per se) so nothing happened regarding sockser:
dv-sockser.o was not compiled and HAVE_DV_SOCKSER was not defined.
I'm removing the $(frv_extra_objs) too, to avoid confusion.  The best
action seems to be disabling all hardware support by default again
until a specific sim maintainer finishes the work.
Make check-sim for frv-elf shows no failures after this.

sim/frv:
	* configure.ac: Default simulator hardware to off again.  Remove
	dead frv_extra_objs substitution.
	* configure: Regenerate.
	* Makefile.in: Remove unused frv_extra_objs.
2014-08-23 04:16:58 +02:00
..
aclocal.m4 sim: use AM_MAINTAINER_MODE 2013-06-05 01:42:13 +00:00
arch.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arch.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cache.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cache.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
ChangeLog Fix frv-elf sim, default hardware to off. 2014-08-23 04:16:58 +02:00
config.in Regenerate sim configury. 2014-08-15 15:51:50 -07:00
configure Fix frv-elf sim, default hardware to off. 2014-08-23 04:16:58 +02:00
configure.ac Fix frv-elf sim, default hardware to off. 2014-08-23 04:16:58 +02:00
cpu.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cpu.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cpuall.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
decode.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
decode.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
devices.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
frv-sim.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
frv.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
interrupts.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
Makefile.in Fix frv-elf sim, default hardware to off. 2014-08-23 04:16:58 +02:00
memory.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mloop.in Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
model.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
options.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
pipeline.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr400.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr400.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr450.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr500.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr500.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr550.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile-fr550.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
profile.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
README
registers.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
registers.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
reset.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
sem.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
sim-if.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
sim-main.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tconfig.in
TODO
traps.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00

This is the frv simulator directory.

It is still work-in-progress.  The current sources are
well tested and lots of features are in.

There are lots of machine generated files in the source directory!
They are only generated if you configure with --enable-cgen-maint,
similar in behaviour to Makefile.in, configure under automake/autoconf.

For details on the generator, see ../../cgen.