binutils-gdb/sim
Mike Frysinger 466b619e95 sim: bfin: push down mmr address/size checks
The bfin port is using the WITH_DEVICES framework for two reasons:
- get access to the cpu making the request (if available)
- check the alignment & size for core & system MMRs

We addressed the first part with commit dea10706e9,
and we handle the second part with this commit.  Arguably this is more
correct too because trying to do bad reads/writes directly (when devices
support is disabled) often results in bad memory accesses.

As part of this clean up, we also adjust all of the existing logic that
would reject invalid accesses: the code was relying on the checks never
returning, but that's not the case when things like gdb (via the user's
commands) are making the requests.  Thus we'd still end up with bad mem
accesses, or sometimes gdb being hung due to while(1) loops.

Now we can connect (most of) these models into any address and have them
work correctly.
2015-12-26 19:09:43 -05:00
..
aarch64 sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
arm sim: arm: delete unused code 2015-12-25 03:09:01 -05:00
avr Fix invalid left shift of negative value 2015-12-15 14:09:14 +01:00
bfin sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
common sim: sim-core: pass down cpu to hw accesses when available 2015-12-26 14:22:14 -05:00
cr16 sim: cris: move option install to sim_open 2015-12-24 20:34:07 -05:00
cris sim: cris: do not pass cpu when writing memory during init 2015-12-26 08:26:28 -05:00
d10v sim: sim-stop/sim-reason/sim-reg: move to common obj list 2015-11-16 00:41:59 -05:00
erc32 Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
frv sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
ft32 sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
h8300 sim: h8300: move h8300-specific options out of common code 2015-12-24 20:11:26 -05:00
igen Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
iq2000 sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
lm32 sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
m32c sim: m32c: move test code to testsuite 2015-11-10 00:19:49 -05:00
m32r sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
m68hc11 sim: make LMA loading the default for all targets 2015-12-24 21:50:17 -05:00
mcore sim: sim-stop/sim-reason/sim-reg: move to common obj list 2015-11-16 00:41:59 -05:00
microblaze sim: sim-stop/sim-reason/sim-reg: move to common obj list 2015-11-16 00:41:59 -05:00
mips sim: mips: delete mmu stubs to move to common sim_{read,write} 2015-12-26 11:50:59 -05:00
mn10300 sim: make LMA loading the default for all targets 2015-12-24 21:50:17 -05:00
moxie sim: sim-stop/sim-reason/sim-reg: move to common obj list 2015-11-16 00:41:59 -05:00
msp430 Fix invalid left shift of negative value 2015-12-15 14:09:14 +01:00
ppc sim: ppc: avoid use of $< in ordinary rules [PR sim/13834] 2015-11-22 01:59:20 -05:00
rl78 Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
rx Update the RX simulator to handle the latest opcode types. 2015-11-10 16:08:35 +00:00
sh sim: sh: delete global callback/argv 2015-11-22 00:53:23 -05:00
sh64 sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
testsuite sim: cris: migrate from WITH_DEVICES to WITH_HW 2015-12-25 06:10:03 -05:00
v850 sim: enable watchpoint module everywhere 2015-12-24 20:03:14 -05:00
.gitignore sim: rename tconfig.in to tconfig.h 2015-03-16 01:23:52 -04:00
ChangeLog sim: aarch64: move ChangeLog content 2015-12-26 07:12:33 -05:00
MAINTAINERS Add myself as the maintainer for the MSP430 sim. 2014-03-12 11:02:57 +00: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
README-HACKING sim: update configure.in->configure.ac docs 2015-06-12 12:11:21 -04:00
configure Add an AArch64 simulator to GDB. 2015-11-24 08:47:59 +00:00
configure.ac sim: use AS_HELP_STRING everywhere 2015-06-23 15:02:08 -04:00
configure.tgt Add an AArch64 simulator to GDB. 2015-11-24 08:47:59 +00:00