commit | 2054f4af19575d9d2a43bcefa48d2e64f10a25de | [log] [tgz] |
---|---|---|
author | Guo Ren <ren_guo@c-sky.com> | Mon Dec 31 01:06:53 2018 +0800 |
committer | Guo Ren <ren_guo@c-sky.com> | Mon Dec 31 10:59:19 2018 +0800 |
tree | e4f39a975ef26b825895a6237cffe22313752fd9 | |
parent | 2b070ccdf8c020fb6c4911263852c021d8aa843c [diff] |
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: Guo Ren <ren_guo@c-sky.com> Reported-by: Lu Baoquan <lu.baoquan@intellif.com> Reported-by: Liu Mao <liu.mao@intellif.com>