arch: x86: select DEBUG_INFO in X86_EXCEPTION_STACK_TRACE

Select `DEBUG_INFO` instead of depending on it.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-05-29 23:40:39 +08:00 committed by Carles Cufí
commit ea00e04382
3 changed files with 2 additions and 3 deletions

View file

@ -166,8 +166,8 @@ endmenu
config X86_EXCEPTION_STACK_TRACE config X86_EXCEPTION_STACK_TRACE
bool bool
default y default y
select DEBUG_INFO
depends on EXCEPTION_STACK_TRACE depends on EXCEPTION_STACK_TRACE
depends on DEBUG_INFO
depends on !OMIT_FRAME_POINTER depends on !OMIT_FRAME_POINTER
help help
Internal config to enable runtime stack traces on fatal exceptions. Internal config to enable runtime stack traces on fatal exceptions.

View file

@ -32,8 +32,8 @@ config X86_EXCEPTION_STACK_SIZE
config X86_EXCEPTION_STACK_TRACE config X86_EXCEPTION_STACK_TRACE
bool bool
default y default y
select DEBUG_INFO
depends on EXCEPTION_STACK_TRACE depends on EXCEPTION_STACK_TRACE
depends on DEBUG_INFO
depends on !OMIT_FRAME_POINTER depends on !OMIT_FRAME_POINTER
depends on NO_OPTIMIZATIONS depends on NO_OPTIMIZATIONS
help help

View file

@ -32,7 +32,6 @@ tests:
arch_allow: x86 arch_allow: x86
extra_configs: extra_configs:
- CONFIG_NO_OPTIMIZATIONS=y - CONFIG_NO_OPTIMIZATIONS=y
- CONFIG_DEBUG_INFO=y
- CONFIG_OMIT_FRAME_POINTER=n - CONFIG_OMIT_FRAME_POINTER=n
integration_platforms: integration_platforms:
- qemu_x86 - qemu_x86