diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-05-14 16:04:31 +0800 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-05-15 00:16:18 +0800 |
commit | 67002814cf3b7265900003f6a49657847eeeb57d (patch) | |
tree | 47dd829a263cd5964ed533c4d2587ac50ead0d7d /arch/csky/kernel/asm-offsets.c | |
parent | 9e2ca15322acc5a0a697305e02af9ce5ac881f66 (diff) |
csky: Fixup gdbmacros.txt with name sp in thread_struct
The gdbmacros.txt use sp in thread_struct, but csky use ksp. This
cause bttnobp fail to excute.
TODO:
- Still couldn't display the contents of stack.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/kernel/asm-offsets.c')
-rw-r--r-- | arch/csky/kernel/asm-offsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/asm-offsets.c b/arch/csky/kernel/asm-offsets.c index bbc259eed233..17479860d43d 100644 --- a/arch/csky/kernel/asm-offsets.c +++ b/arch/csky/kernel/asm-offsets.c @@ -18,7 +18,7 @@ int main(void) DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); /* offsets into the thread struct */ - DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); + DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp)); DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); |