Skip to content

Commit

Permalink
OpenOCD: Make incompatible with SMP
Browse files Browse the repository at this point in the history
In case of SMP (i.e. multiple execution units processing
the same list of tasks) we cannot use the same data structures for
getting data about active tasks as with just one processor (UP).

So until explicit support of SMP is added make sure we don't allow
to select both OPENOCD & SMP simultaneously.

Moreover starting from
commit a203d21 ("kernel: remove legacy fields in _kernel")
this will lead to build-time error if MP_NUM_CPUS > 1.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  • Loading branch information
abrodkin committed May 8, 2020
1 parent 6ba69f1 commit 69af584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/debug/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ config EXCEPTION_STACK_TRACE

config OPENOCD_SUPPORT
bool "OpenOCD support [EXPERIMENTAL]"
depends on !SMP
select THREAD_MONITOR
select THREAD_NAME
help
Expand Down

0 comments on commit 69af584

Please sign in to comment.