[PATCH] m32r: Fix ELF_CORE_COPY_REGS macro to generate a correct "core" file
This patch fixes ELF_CORE_COPY_REGS() macro in order to dump register information into "core" files correctly, because both parameters pr_reg and regs are passed as pointers to "elf_gregset_t" and "struct pt_regs", respectively. I've tested it by using a native m32r GNU debugger. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment