From: Aaron Carroll Date: Wed, 9 Mar 2011 19:39:55 +0000 (+1100) Subject: omap4430: force hardware breakpoints for GDB X-Git-Tag: v0.5.0-rc1~144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc9939879cbb847a9f6c405082106be824ebf5ff;p=openocd 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 --- 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 +