> On 21 Jul 2023, at 19:02, Tomas Vanek <tom_...@users.sourceforge.net> wrote:
> 
> But later comparisons of OpenOCD runs of my simple test code with J-Link and 
> ST-link GDB servers suggested that J-link and ST-link GDB servers keep 
> interrupts masked.
> Your last test shows it's not as easy as that, they implement some fiddling 
> with C_MASKINTS. Perhaps they unmask interrupts only if the core sleeps after 
> WFI instruction.

A much simpler strategy would be to silently resume rogue breakpoints, i.e. not 
registered as a free hardware (FPB) breakpoint. 

Can this be implemented in OpenOCD?


Liviu




Reply via email to