binutils-gdb/sim/m32r
Mike Frysinger 6e4f085c7f sim: sim-close: unify sim_close logic
Other than the nice advantage of all sims having to declare one fewer
common function, this also fixes leakage in pretty much every sim.
Many were not freeing any resources, and a few were inconsistent as
to the ones they did.  Now we have a single module that takes care of
all the logic for us.

Most of the non-cgen based ones could be deleted outright.  The cgen
ones required adding a callback to the arch-specific cleanup func.
The few that still have close callbacks are to manage their internal
state.

We do not convert erc32, m32c, ppc, rl78, or rx as they do not use
the common sim core.
2015-11-15 02:30:19 -05:00
..
ChangeLog sim: sim-close: unify sim_close logic 2015-11-15 02:30:19 -05:00
Makefile.in
README
TODO
aclocal.m4
arch.c
arch.h
config.in
configure sim: use AS_HELP_STRING everywhere 2015-06-23 15:02:08 -04:00
configure.ac
cpu.c
cpu.h
cpu2.c
cpu2.h
cpuall.h
cpux.c
cpux.h
decode.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
decode.h
decode2.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
decode2.h
decodex.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
decodex.h
devices.c
m32r-sim.h
m32r.c
m32r2.c
m32rx.c
mloop.in sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
mloop2.in
mloopx.in
model.c
model2.c
modelx.c
sem-switch.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
sem.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
sem2-switch.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
semx-switch.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
sim-if.c sim: sim-close: unify sim_close logic 2015-11-15 02:30:19 -05:00
sim-main.h
syscall.h
tconfig.h
traps-linux.c sim: syscall: add common sim_syscall helpers 2015-06-17 13:19:51 -04:00
traps.c sim: syscall: add common sim_syscall helpers 2015-06-17 13:19:51 -04:00

README

This is the m32r simulator directory.

It is still work-in-progress.  The current sources are reasonably
well tested and lots of features are in.  However, there's lots
more yet to come.

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.

devo/cgen isn't part of the comp-tools module yet.
You'll need to check it out manually (also akin to automake/autoconf).