riscv: Add option to print registers on exception
When debugging, it can be helpful to see more information about an unhandled exception. This patch adds an option to view the registers at the time of the trap, similar to the linux output on a kernel panic. Signed-off-by:Sean Anderson <seanga2@gmail.com> Reviewed-by:
Rick Chen <rick@andestech.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
Loading
Please register or sign in to comment