arch:debug: add struct for task aware debug.

When enable DEBUG_TCBINFO config, a global struct will
provide, then debuggers can aware nuttx task infomation.

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
zhuyanlin
2021-10-13 21:15:04 +08:00
committed by Alan Carvalho de Assis
parent 201c67acbd
commit 012bd1494c
9 changed files with 740 additions and 0 deletions
+8
View File
@@ -546,6 +546,14 @@ endmenu # Customize Header Files
menu "Debug Options"
config DEBUG_TCBINFO
bool "Enable TCBinfo struct for debug"
default n
---help---
Enables tcbinfo struct for debugger infomation.
Selecting this option will enable g_tcbinfo in arch and
procfs.
config DEBUG_ALERT
bool
default n