On 10 March 2011 16:19, Peter Stuge <pe...@stuge.se> wrote:
> Aaron Carroll wrote:
>> 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 <aar...@ok-labs.com>
>
> What would it take to fix soft breakpoints?

Hi Peter,

Conceptually it's simple, but there's a bit of detail to work through
in enumerating
the cache levels, calculating the right addresses, etc.  Simpler
approach would be
to invalidate the entire cache, but ARMv7 makes even that non-trivial.

If nobody gets to look at this I will revisit this when I have more time.


Thanks,
   -- Aaron
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to