I am not sure if this is a bug or I have misunderstood something the code, but 
there seems to be a problem with software breakpoints.
When adding a software breakpoint, the function breakpoint_add() would add a 
breakpoint to all targets, if smp is on.
But since software breakpoints are done but replacing the instruction at the 
memory address with something to break when run, then why do we need to do this 
for all the cores, isn't once enough?

James


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to