]> Git Repo - linux.git/commit
csky: bugfix gdb coredump error.
authorGuo Ren <[email protected]>
Sun, 30 Dec 2018 17:06:53 +0000 (01:06 +0800)
committerGuo Ren <[email protected]>
Mon, 31 Dec 2018 02:59:19 +0000 (10:59 +0800)
commit2054f4af19575d9d2a43bcefa48d2e64f10a25de
treee4f39a975ef26b825895a6237cffe22313752fd9
parent2b070ccdf8c020fb6c4911263852c021d8aa843c
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 <[email protected]>
Reported-by: Lu Baoquan <[email protected]>
Reported-by: Liu Mao <[email protected]>
arch/csky/include/asm/elf.h
This page took 0.053892 seconds and 4 git commands to generate.