concurrent debugging of multiple cores?

Hi, does anyone know the level of support in OpenOCD for debugging multiple CPU cores on an soc at the same time? I couldn’t find much in the documentation on this - it seems like its geared towards connecting to a particular CPU core/TAP and leaving it at that. I’ve got an SoC with multiple CPU cores which I need to attach to and debug concurrently. Would this mean multiple GDB sessions? Does OpenOCD support such a configuration?

thanks,

Steve

I used openocd to debug two arm cores on a chain a while ago and it worked ok.

There have been a lot of changes to openocd so unsure if this is still the case.

I switched the current core using the targets [targetname] and only ever connected one instance of gdb.

Not tested it but openocd will open a gdb port for each target, so for example port 3333 (target 1) 3334 for target 2 etc.

Cheers

Spen