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: NGuo Ren <ren_guo@c-sky.com>
Showing
arch/csky/kernel/stacktrace.c
0 → 100644
想要评论请 注册 或 登录