binutils-gdb/sim/common
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
Make-common.in sim: sim-close: unify sim_close logic 2015-11-15 02:30:19 -05:00
Makefile.in Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
acinclude.m4 sim: use AS_HELP_STRING everywhere 2015-06-23 15:02:08 -04:00
aclocal.m4 Regenerate sim/common/aclocal.m4 and sim/common/configure... 2015-01-07 14:00:06 +04:00
callback.c sim: callback: fix sentinel testing when walking maps 2015-06-18 04:02:26 -04:00
cgen-accfp.c common/ 2010-01-25 04:08:52 +00:00
cgen-cpu.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-defs.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-engine.h sim: unify sim_cia definition 2015-04-18 04:14:38 -04:00
cgen-fpu.c
cgen-fpu.h common/ 2010-01-25 04:08:52 +00:00
cgen-mem.h common: cgen-mem/cgen-ops: fix extern inline handling 2015-03-31 01:58:01 -04:00
cgen-ops.h common: cgen-mem/cgen-ops: fix extern inline handling 2015-03-31 01:58:01 -04:00
cgen-par.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-par.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-run.c sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
cgen-scache.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-scache.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-sim.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-trace.c sim: assume recentish compiler/systems 2015-06-23 14:04:49 -04:00
cgen-trace.h sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
cgen-types.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cgen-utils.c sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET} 2015-04-17 02:44:30 -04:00
cgen.sh sim: gennltvals.sh: handle split out newlib source tree 2015-04-21 03:10:16 -04:00
config.in sim: update zlib handling 2015-04-01 01:07:57 -04:00
configure sim: use AS_HELP_STRING everywhere 2015-06-23 15:02:08 -04:00
configure.ac sim: dv-cfi: check for posix_fallocate 2011-11-07 16:28:52 +00:00
dv-cfi.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dv-cfi.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dv-core.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dv-glue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dv-pal.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dv-sockser.c sim: dv-sockser: add stub funcs when not available 2015-03-23 04:14:27 -04:00
dv-sockser.h sim: dv-sockser: add stub funcs when not available 2015-03-23 04:14:27 -04:00
gdbinit.in * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break 2004-12-07 23:37:35 +00:00
genmloop.sh sim: cgen: namespace custom trace functions 2015-06-12 04:19:45 -04:00
gennltvals.sh sim: mcore: switch to common syscall handling 2015-04-21 03:10:16 -04:00
gentmap.c sim: callback: add human readable strings for debugging to maps 2015-06-17 13:19:51 -04:00
gentvals.sh sim: gennltvals.sh: handle split out newlib source tree 2015-04-21 03:10:16 -04:00
hw-alloc.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-alloc.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-base.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-base.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-device.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-device.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-events.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-events.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-handles.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-handles.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-instances.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-instances.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-main.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-ports.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-ports.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-properties.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-properties.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-tree.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
hw-tree.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nltvals.def sim: mcore: switch to common syscall handling 2015-04-21 03:10:16 -04:00
nrun.c sim: rename tconfig.in to tconfig.h 2015-03-16 01:23:52 -04:00
run.1 Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-abort.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-alu.h sim: common: standardize multiple include defines 2015-06-21 13:33:27 -04:00
sim-arange.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-arange.h sim: common: sim-arange: fix extern inline handling 2015-03-29 16:02:17 -04:00
sim-assert.h sim: common: replace SIM_FILTER_PATH with lbasename 2015-06-23 15:07:38 -04:00
sim-base.h sim: unify SIM_CPU definition 2015-04-18 04:31:36 -04:00
sim-basics.h sim: common: standardize multiple include defines 2015-06-21 13:33:27 -04:00
sim-bits.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-bits.h [PATCH] Add micromips support to the MIPS simulator 2015-09-25 15:52:18 +01:00
sim-close.c sim: sim-close: unify sim_close logic 2015-11-15 02:30:19 -05:00
sim-command.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-config.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-config.h sim: trace: do not enable internal debug by default 2015-06-23 14:05:38 -04:00
sim-core.c sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET} 2015-04-17 02:44:30 -04:00
sim-core.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-cpu.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-cpu.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-endian.c sim: move sim-io.h to sim-assert.h 2015-03-14 03:44:58 -04:00
sim-endian.h sim: common: standardize multiple include defines 2015-06-21 13:33:27 -04:00
sim-engine.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-engine.h sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET} 2015-04-17 02:44:30 -04:00
sim-events.c sim: common: replace SIM_FILTER_PATH with lbasename 2015-06-23 15:07:38 -04:00
sim-events.h sim: trace: centralize the system tracing 2015-06-11 10:39:43 -04:00
sim-fpu.c Fix problems in the sim sources discovered by running the cppcheck static analysis tool. 2015-04-29 16:02:02 +01:00
sim-fpu.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-hload.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-hrw.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-hw.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-hw.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-info.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-inline.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-inline.h sim: common: sim-arange: fix extern inline handling 2015-03-29 16:02:17 -04:00
sim-io.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-io.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-load.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-memopt.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-memopt.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-model.c sim: common: add basic model assert 2015-06-21 13:56:24 -04:00
sim-model.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-module.c sim: trace: add WITH_TRACE_ANY_P helper 2015-06-12 06:21:38 -04:00
sim-module.h sim: dv-sockser: push module init prototype down 2015-03-15 03:05:05 -04:00
sim-n-bits.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-n-core.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-n-endian.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-options.c sim: options: add --version support 2015-04-13 02:35:26 -04:00
sim-options.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-profile.c sim: profile: disconnect from watchpoint core 2015-03-24 01:24:10 -04:00
sim-profile.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-reason.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-reg.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-resume.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-run.c sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET} 2015-04-17 02:44:30 -04:00
sim-signal.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-signal.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-stop.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-syscall.c sim: syscall: simplify unknown syscall trace 2015-06-18 04:07:42 -04:00
sim-syscall.h sim: syscall: add common sim_syscall helpers 2015-06-17 13:19:51 -04:00
sim-trace.c sim: trace: drop unused trace_one_insn 2015-06-24 11:10:30 -04:00
sim-trace.h sim: trace: drop unused trace_one_insn 2015-06-24 11:10:30 -04:00
sim-types.h sim: common: use standard intXX_t types for signedXX 2015-06-21 13:38:12 -04:00
sim-utils.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-utils.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-watch.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sim-watch.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
syscall.c sim: syscall: add common sim_syscall helpers 2015-06-17 13:19:51 -04:00
tconfig.h sim: run: punt! 2015-04-01 01:22:44 -04:00
version.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00