On Wednesday 20 January 2010, Spencer Oliver wrote:
> >> As a side note this issue will also apply to armv5 cores with the bkpt 
> >> instruction.
> > 
> > Curious ... there's already some logic to skip breakpoints
> > there, you're saying it doesn't handle this case right?
> > 
> 
> yes openocd will handle breakpoints it know about, the same as the v7m 
> code did.
> 
> A user added bkpt instruction is not handled, the only way of knowing is 
> to read the actual instruction like the v7m code does now.
> 
> I will have a look at the v5 case to see what if anything needs doing.

I think all the v5 cores -- except maybe XScale -- call out to the
semihosting code, which will handle the BKPT case.

For v6 (arm11) there's no BKPT support yet (or semihosting).

For v7a (Cortex-A8 is it, for now) this might be an issue too. 

- Dave



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

Reply via email to