> (Because, for example, in realisation for RISV, software breakpoint is set > only to one target)
Are you sure? Seems to me that breakpoints are set in each SMP target: https://github.com/riscv/riscv-openocd/blob/f7a5f4719d54d48b9e9431d0ef7b6026b7977af9/src/target/breakpoints.c#L221