commit | 0ea2dc7cd668be5475babecaf6fdeaa464e2847b | [log] [tgz] |
---|---|---|
author | Guo Ren <ren_guo@c-sky.com> | Sun Dec 09 14:18:05 2018 +0800 |
committer | Guo Ren <ren_guo@c-sky.com> | Mon Dec 31 23:12:22 2018 +0800 |
tree | 733fef9d2126b7323d4ec80e62e0c3ea583e01f7 | |
parent | 859e5f45cbb33fe5d591a8e429667f0b7d4f4be8 [diff] [blame] |
csky: stacktrace supported. The gcc option "-mbacktrace" will push fp(r8),lr into stack and we could unwind the stack with: fp = *fp lr = (unsigned int *)fp[1] Signed-off-by: Guo Ren <ren_guo@c-sky.com>
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index 8bdbe92..65804d1 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig
@@ -94,6 +94,9 @@ config RWSEM_GENERIC_SPINLOCK def_bool y +config STACKTRACE_SUPPORT + def_bool y + config TIME_LOW_RES def_bool y