diff --git a/arch/x86/core/Kconfig.ia32 b/arch/x86/core/Kconfig.ia32 index 25cf5c93cb9..770f6ff4d6d 100644 --- a/arch/x86/core/Kconfig.ia32 +++ b/arch/x86/core/Kconfig.ia32 @@ -166,8 +166,8 @@ endmenu config X86_EXCEPTION_STACK_TRACE bool default y + select DEBUG_INFO depends on EXCEPTION_STACK_TRACE - depends on DEBUG_INFO depends on !OMIT_FRAME_POINTER help Internal config to enable runtime stack traces on fatal exceptions. diff --git a/arch/x86/core/Kconfig.intel64 b/arch/x86/core/Kconfig.intel64 index f519aa24435..36e7110f79a 100644 --- a/arch/x86/core/Kconfig.intel64 +++ b/arch/x86/core/Kconfig.intel64 @@ -32,8 +32,8 @@ config X86_EXCEPTION_STACK_SIZE config X86_EXCEPTION_STACK_TRACE bool default y + select DEBUG_INFO depends on EXCEPTION_STACK_TRACE - depends on DEBUG_INFO depends on !OMIT_FRAME_POINTER depends on NO_OPTIMIZATIONS help diff --git a/tests/arch/common/stack_unwind/testcase.yaml b/tests/arch/common/stack_unwind/testcase.yaml index eee2ffe3112..1699adeae5d 100644 --- a/tests/arch/common/stack_unwind/testcase.yaml +++ b/tests/arch/common/stack_unwind/testcase.yaml @@ -32,7 +32,6 @@ tests: arch_allow: x86 extra_configs: - CONFIG_NO_OPTIMIZATIONS=y - - CONFIG_DEBUG_INFO=y - CONFIG_OMIT_FRAME_POINTER=n integration_platforms: - qemu_x86