aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/config.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 19:02:07 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 19:09:43 -0500
commit466b619e95908dc073b78413f0d0d0b1cb97e4b5 (patch)
tree2b3a47fc43dab9497495d232fd6769945db63aff /sim/erc32/config.in
parentb72dd4c228d71b44e487ff2c53c0d2883653bce7 (diff)
downloadgdb-466b619e95908dc073b78413f0d0d0b1cb97e4b5.zip
gdb-466b619e95908dc073b78413f0d0d0b1cb97e4b5.tar.gz
gdb-466b619e95908dc073b78413f0d0d0b1cb97e4b5.tar.bz2
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 dea10706e9159ba6e94eab4c25010f3, 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.
Diffstat (limited to 'sim/erc32/config.in')
0 files changed, 0 insertions, 0 deletions