commit | eafc4eff04a56f2d6a9de028b8214815979625e9 | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Tue May 21 16:06:07 2024 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 23 11:52:08 2024 -0400 |
tree | b82e16ee10f5e059b3955a88b24ae2a87280a0e4 | |
parent | c1a925de985fe78587015116d0fee672586d4c7d [diff] |
arch: riscv: print symbol name of `mepc` if `CONFIG_SYMTAB` is enabled The mepc register is the address of the instruction that was interrupted, it will make debugging easier if we know the name of the symbol, so print it if `CONFIG_SYMTAB` is enabled. Signed-off-by: Yong Cong Sin <ycsin@meta.com>