]> git.sur5r.net Git - openocd/commitdiff
omap4430: force hardware breakpoints for GDB
authorAaron Carroll <aaronc@ok-labs.com>
Wed, 9 Mar 2011 19:39:55 +0000 (06:39 +1100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 13 Mar 2011 13:58:57 +0000 (14:58 +0100)
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>
tcl/target/omap4430.cfg

index 19b2d70774008fab8948954ec31dc271ba71d7d2..5bdb9d675edfd7cc06dd522cbc5d13de9a6fcde3 100644 (file)
@@ -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
+