debug: remove DEBUG_INFO from EXCEPTION_STACK_TRACE
The `DEBUG_INFO` in the `EXCEPTION_STACK_TRACE` is only required by x86. Move that to `X86_EXCEPTION_STACK_TRACE` instead. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
1570ef2863
commit
413b1cf409
5 changed files with 3 additions and 2 deletions
|
@ -167,6 +167,7 @@ config X86_EXCEPTION_STACK_TRACE
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on EXCEPTION_STACK_TRACE
|
depends on EXCEPTION_STACK_TRACE
|
||||||
|
depends on DEBUG_INFO
|
||||||
help
|
help
|
||||||
Internal config to enable runtime stack traces on fatal exceptions.
|
Internal config to enable runtime stack traces on fatal exceptions.
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ config X86_EXCEPTION_STACK_TRACE
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on EXCEPTION_STACK_TRACE
|
depends on EXCEPTION_STACK_TRACE
|
||||||
|
depends on DEBUG_INFO
|
||||||
depends on NO_OPTIMIZATIONS
|
depends on NO_OPTIMIZATIONS
|
||||||
help
|
help
|
||||||
Internal config to enable runtime stack traces on fatal exceptions.
|
Internal config to enable runtime stack traces on fatal exceptions.
|
||||||
|
|
|
@ -382,7 +382,6 @@ config SYMTAB
|
||||||
config EXCEPTION_STACK_TRACE
|
config EXCEPTION_STACK_TRACE
|
||||||
bool "Attempt to print stack traces upon exceptions"
|
bool "Attempt to print stack traces upon exceptions"
|
||||||
default y
|
default y
|
||||||
depends on DEBUG_INFO
|
|
||||||
depends on !OMIT_FRAME_POINTER
|
depends on !OMIT_FRAME_POINTER
|
||||||
help
|
help
|
||||||
If the architecture fatal handling code supports it, attempt to
|
If the architecture fatal handling code supports it, attempt to
|
||||||
|
|
|
@ -5,4 +5,3 @@ CONFIG_LOG_BUFFER_SIZE=2048
|
||||||
|
|
||||||
CONFIG_EXCEPTION_STACK_TRACE=y
|
CONFIG_EXCEPTION_STACK_TRACE=y
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_INFO=y
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ tests:
|
||||||
arch_allow: x86
|
arch_allow: x86
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_NO_OPTIMIZATIONS=y
|
- CONFIG_NO_OPTIMIZATIONS=y
|
||||||
|
- CONFIG_DEBUG_INFO=y
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- qemu_x86
|
- qemu_x86
|
||||||
- qemu_x86_64
|
- qemu_x86_64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue