01.12.2022, 11:21, "Kirill Radkin" <kirill.rad...@syntacore.com>:
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.TimSo, 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,
P.S. I want to understand how should OpenOCD behaves when we connected with it using telnet (I forgot to say it, sorry). How SMP targets should behave in this case, it should work like true SMP targets or it must be ignored and SMP targets just are different targets ?
--
Kirill Radkin
kirill.rad...@syntacore.com