commit | e8b46a15c2d1da0af0b4455dede979fec9bcc333 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Wed Dec 25 00:27:44 2019 -0500 |
committer | Andes <uboot@andestech.com> | Mon Feb 10 14:51:08 2020 +0800 |
tree | cf45bbb908850abc89bf9b23cba29ed561e3f547 | |
parent | 5e75a27e7a9a3a19161ca9f8f62877ee1bb37201 [diff] |
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>