old-cross-binutils/sim/common
Mike Frysinger dea10706e9 sim: sim-core: pass down cpu to hw accesses when available
The bfin port has been using the device callback largely so it could be
passed the cpu when available.  Add this logic to the common core code
so all ports get access to the active cpu.

The semantics of these buffer functions are changed slightly in that
errors halt the engine synchronously rather than returning the length
to the caller.  We'll probably adjust this in a follow up commit.

The bfin code isn't updated just yet as it has a bit more logic in the
device layer that needs to be unwound at which point we can delete it
entirely.
2015-12-26 14:22:14 -05: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
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
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 sim: sim-model: build for everyone 2015-12-25 04:40:31 -05: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
ChangeLog sim: sim-core: pass down cpu to hw accesses when available 2015-12-26 14:22:14 -05: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
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 sim: dv-pal: always use CPU_INDEX 2015-12-25 00:13:43 -05: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
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 sim: hw-properties: delete trace calls 2015-12-25 05:48:03 -05: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
Make-common.in sim: sim-model: build for everyone 2015-12-25 04:40:31 -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
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: sim-model: build for everyone 2015-12-25 04:40:31 -05: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: use XCONCAT2 helper 2015-11-17 00:48:07 -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: drop WITH_ENGINE define 2015-12-25 04:47:31 -05:00
sim-core.c sim: sim-core: pass down cpu to hw accesses when available 2015-12-26 14:22:14 -05:00
sim-core.h sim: device_error: punt 2015-12-25 02:18:16 -05: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 sim: sim-model: build for everyone 2015-12-25 04:40:31 -05: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: sim-model: build for everyone 2015-12-25 04:40:31 -05:00
sim-model.h sim: sim-model: build for everyone 2015-12-25 04:40:31 -05:00
sim-module.c sim: drop WITH_ENGINE define 2015-12-25 04:47:31 -05: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 sim: device_error: punt 2015-12-25 02:18:16 -05: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: make LMA loading the default for all targets 2015-12-24 21:50:17 -05: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 sim: sim-model: build for everyone 2015-12-25 04:40:31 -05: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: add PRI printf defines 2015-11-22 01:37:24 -05:00
sim-utils.c sim: sim_do_commandf: fix call to va_end [PR sim/19273] 2015-11-22 02:15:28 -05: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: delete SIM_HAVE_SIMCACHE 2015-12-24 19:23:51 -05: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