Skip to content
Commit 2054f4af authored by Guo Ren's avatar Guo Ren
Browse files

csky: bugfix gdb coredump error.



In gdb/bfd elf32-csky.c, csky_elf_grok_prstatus() use fixed size of
elf_prstatus. It's 148 for abiv1 and 220 for abiv2, the size is enough
for coredump and no need full sizeof(struct pt_regs).

Signed-off-by: default avatarGuo Ren <ren_guo@c-sky.com>
Reported-by: default avatarLu Baoquan <lu.baoquan@intellif.com>
Reported-by: default avatarLiu Mao <liu.mao@intellif.com>
parent 2b070ccd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment