Give each SMP group a unique number.
authorTim Newsome <tim@sifive.com>
Mon, 16 May 2022 17:22:32 +0000 (10:22 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 27 May 2022 22:52:35 +0000 (22:52 +0000)
commitbce93f6d513b373c1fbfb42a12cfeb2305d5e822
tree4c5a1e7c034b5c022407c7c062c36ab237eca31b
parent390720c283992a0a6e8d7aea94924a15d3c8e900
Give each SMP group a unique number.

This helps e.g. if there are 8 cores, and cores 0--3 are in one SMP
group while 4--7 are in another group. (And there are 2 gdb instances
connected, one debugging the first group, and one the second.)

Signed-off-by: Tim Newsome <tim@sifive.com>
Change-Id: I7b6c9382eadf964529105eaf0411a42d48768668
Reviewed-on: https://review.openocd.org/c/openocd/+/6979
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/target.c
src/target/target.h