diff options
| author | Guo Ren <ren_guo@c-sky.com> | 2018-12-09 14:18:05 +0800 |
|---|---|---|
| committer | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 23:12:22 +0800 |
| commit | 0ea2dc7cd668be5475babecaf6fdeaa464e2847b (patch) | |
| tree | 733fef9d2126b7323d4ec80e62e0c3ea583e01f7 /arch/csky/kernel/Makefile | |
| parent | 859e5f45cbb33fe5d591a8e429667f0b7d4f4be8 (diff) | |
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>
Diffstat (limited to 'arch/csky/kernel/Makefile')
| -rw-r--r-- | arch/csky/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/kernel/Makefile b/arch/csky/kernel/Makefile index 4422de756cde..ba5ca486f0f6 100644 --- a/arch/csky/kernel/Makefile +++ b/arch/csky/kernel/Makefile @@ -6,3 +6,4 @@ obj-y += process.o cpu-probe.o ptrace.o dumpstack.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_STACKTRACE) += stacktrace.o |
