x86: fix stack traces on x86_64
Runtime stack traces (at least as currently implemented) don't work on x86_64 normally as RBP is treated as a general- purpose register. Depend on CONFIG_NO_OPTIMIZATIONS to enable this on 64-bit. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
d716e3a66c
commit
1b45de8010
3 changed files with 21 additions and 6 deletions
|
@ -274,4 +274,11 @@ config X86_DYNAMIC_IRQ_STUBS
|
|||
|
||||
endmenu
|
||||
|
||||
config X86_EXCEPTION_STACK_TRACE
|
||||
bool
|
||||
default y
|
||||
depends on EXCEPTION_STACK_TRACE
|
||||
help
|
||||
Internal config to enable runtime stack traces on fatal exceptions.
|
||||
|
||||
endif # !X86_64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue