Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane

This commit is contained in:
Gregory Nutt
2015-01-24 06:03:39 -06:00
parent e6d861d30e
commit 05c5c8c337
48 changed files with 148 additions and 59 deletions
+9
View File
@@ -675,6 +675,15 @@ config DEBUG_WATCHDOG
endif # DEBUG
config STACK_COLORATION
bool "Stack coloration"
default n
depends on ARCH_HAVE_STACKCHECK && !DEBUG_STACK
---help---
Enable stack coloration to initialize the stack memory to the value
of STACK_COLOR and use the stack checking API in a non debug build.
Only supported by a few architectures.
config DEBUG_SYMBOLS
bool "Generate Debug Symbols"
default n