30.11.2022, 21:44, "Tim Newsome" <t...@sifive.com>:
On Tue, Nov 29, 2022 at 1:38 PM Kirill Radkin <kirill.rad...@syntacore.com> wrote:
P.S. Also i don't understand idea about setting a software breakpoints in case of SMP targets only to one target, why we can't just add it to all of them (just like hw breakpoints)?
 
OpenOCD assumes that SMP targets share memory, so if you set a software breakpoint on one target, then all of them will automatically see it as well.
 
Tim 
 
So, if I understand correctly, each target (I mean C-struct, which contain all info about target) should have a internal software breakpoint in this case? (Because, for example, in realisation for RISV, software breakpoint is set only to one target)
-- 
Kirill Radkin
kirill.rad...@syntacore.com
 


Reply via email to