diff options
author | Matthias Welwarsky <matthias@welwarsky.de> | 2015-11-24 22:11:56 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2015-12-29 21:43:45 +0000 |
commit | 5bee7f5b2c13b02f2d6ad98de6a826279777c8a9 (patch) | |
tree | 43d9fb492e2e8604a8df9db93148b3223d4c8570 /doc | |
parent | 082417fc71d5aa7b4e85b5244e53acd434c794fd (diff) | |
download | riscv-openocd-5bee7f5b2c13b02f2d6ad98de6a826279777c8a9.zip riscv-openocd-5bee7f5b2c13b02f2d6ad98de6a826279777c8a9.tar.gz riscv-openocd-5bee7f5b2c13b02f2d6ad98de6a826279777c8a9.tar.bz2 |
cortex_a: add 'dacrfixup' to cortex-a command group
work around issues with software breakpoints when the text segment
is mapped read-only by the OS. Set DACR to "all-manager" to bypass
TLB permission checks on memory access.
Change-Id: I79fd9b32b04a4d538d489896470ee30b26b72b30
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3107
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 8641531..78298b8 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -7678,6 +7678,13 @@ Disabled by default display information about target caches @end deffn +@deffn Command {cortex_a dacrfixup [@option{on}|@option{off}]} +Work around issues with software breakpoints when the program text is +mapped read-only by the operating system. This option sets the CP15 DACR +to "all-manager" to bypass MMU permission checks on memory access. +Defaults to 'off'. +@end deffn + @deffn Command {cortex_a dbginit} Initialize core debug Enables debug by unlocking the Software Lock and clearing sticky powerdown indications |