commit | 105afa7f230e5fed8f5a2eb28bc14d7696f5ac72 | [log] [tgz] |
---|---|---|
author | Jiangshuai Li <jiangshuai_li@linux.alibaba.com> | Mon Aug 15 10:40:29 2022 +0800 |
committer | Jiangshuai Li <jiangshuai_li@linux.alibaba.com> | Mon Aug 15 10:40:29 2022 +0800 |
tree | 752b654d349bfd76d4a0f2f462792978ed2c648a | |
parent | a9c09a3667cce34a9b5f7f0983254cc66a90e145 [diff] |
gdb/csky add unwinder for sigtramp frame when kernel 4.x and later When kernel veriosn >= V4.x, the characteristic values used to determine whether it is a signal function call are: movi r7, 139 trap 0 Registers are saved at (sp + CSKY_SIGINFO_OFFSET + CSKY_SIGINFO_SIZE + CSKY_UCONTEXT_SIGCONTEXT + CSKY_SIGCONTEXT_PT_REGS_TLS). The order is described in csky_linux_rt_sigreturn_init_pt_regs.