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>
Loading
Please sign in to comment