From cc9939879cbb847a9f6c405082106be824ebf5ff Mon Sep 17 00:00:00 2001 From: Aaron Carroll Date: Thu, 10 Mar 2011 06:39:55 +1100 Subject: [PATCH] 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 --- tcl/target/omap4430.cfg | 3 +++ 1 file changed, 3 insertions(+) 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 + -- 2.39.5