riscv: show registers in crash dumps by default
If an exception occurs in main U-Boot, show the registers. This makes analyzing crashes especially in external applications easier. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
committed by
Leo Yu-Chi Liang
parent
73e73f04b7
commit
4a36d217bb
@@ -438,6 +438,7 @@ config AVAILABLE_HARTS
|
||||
If disable this, it will send IPI by CPUs node numbers of device tree.
|
||||
|
||||
config SHOW_REGS
|
||||
default y
|
||||
bool "Show registers on unhandled exception"
|
||||
help
|
||||
By default only the program counter and the return address register
|
||||
|
||||
Reference in New Issue
Block a user