I think of `target smp` as something that exists for the benefit of GDB (which likes to pretend multiple cores are really Linux threads). For OpenOCD commands, the user is not so limited, so there's no need to resume multiple targets when the user only requests a single target to be resumed.
But I'm curious how others think of this. Tim On Tue, Mar 28, 2023 at 9:09 AM Evgeniy Naydanov < evgeniy.nayda...@syntacore.com> wrote: > Hello! I'm struggling to understand how `resume <addr>` command should > behave for an SMP configuration like this: > ``` > target create core0.cpu ... > target create core1.cpu ... > target smp core0.cpu core1.cpu > ``` > What is the intended behavior? > More specifically: > > - As far as I understand, all the targets in SMP group should resume > (6.3.4 in > https://openocd.org/doc-release/html/Config-File-Guidelines.html), but > should all targets resume on address <addr> or should it be done only by > the selected target? > - If some target is already resumed (e.g. selected hart halted due to > hitting a software breakpoint), should we return an error? > > Best regards, > Evgeniy Naydanov >