summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carroll <aaronc@ok-labs.com>2011-03-10 06:39:55 +1100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-13 14:58:57 +0100
commitcc9939879cbb847a9f6c405082106be824ebf5ff (patch)
treef7a9cf7a8ae1f80fc82111e937ceb3327e94a6fd
parent8e85bb4eea739c4945190a76f7c0f4f13ebf2a21 (diff)
downloadopenocd_libswd-cc9939879cbb847a9f6c405082106be824ebf5ff.tar.gz
openocd_libswd-cc9939879cbb847a9f6c405082106be824ebf5ff.tar.bz2
openocd_libswd-cc9939879cbb847a9f6c405082106be824ebf5ff.tar.xz
openocd_libswd-cc9939879cbb847a9f6c405082106be824ebf5ff.zip
omap4430: force hardware breakpoints for GDB
Soft breakpoints are currently broken if the MMU is enabled due to incorrect cache flushing. Until this is fixed, force the use of hardware breakpoints. Signed-off-by: Aaron Carroll <aaronc@ok-labs.com>
-rw-r--r--tcl/target/omap4430.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcl/target/omap4430.cfg b/tcl/target/omap4430.cfg
index 19b2d707..5bdb9d67 100644
--- a/tcl/target/omap4430.cfg
+++ b/tcl/target/omap4430.cfg
@@ -109,3 +109,6 @@ $_TARGETNAME configure -event reset-assert "$_TARGETNAME mww phys $PRM_RSTCTRL 0
$_CHIPNAME.m30 configure -event reset-assert { }
$_CHIPNAME.m31 configure -event reset-assert { }
+# Soft breakpoints don't currently work due to broken cache handling
+gdb_breakpoint_override hard
+