Hi

Cortex_A processors supports three kinds of hardware breakpoints

                -IVA breakpoint which is currently implemented in OPENOCD
-Context ID breakpoint, based on the CONTEXTID register of the CP15 coprocessor 
, the breakpoint is hit when  the contextID specified with the bp command  is 
loaded into CP15 contextid register
-Context ID & IVA breakpoint (hybrid) which is a combination of the two other 
types of breakpoints(needs two BRPs linked together), the breakpoint is hit 
when the specified contextID is loaded into CP15 register and the PC reaches 
the specified IVA.

ContextID identifier is used by the cpu to differentiate between the processes 
running on the target so  the contextID breakpoint allows to stop the target 
when a given process is executing. The hybrid breakpoint allows to stop the 
target when a given process is executing and a given address within it's memory 
space is reached.

This patch adds the support for the ContextID and the Hybrid breakpoints

Add a contextID breakpoint:  bp  <contextid> <length> hw_ctx
Add a hybrid breakpoint:  bp <address> <contextID> <length> hw

Please review and merge if it's OK

Thanks

Attachment: 0002-cortex_a_bp.patch
Description: 0002-cortex_a_bp.patch

Attachment: 0003-cortex_a_bp.patch
Description: 0003-cortex_a_bp.patch

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to