ARM: 6883/1: ptrace: Migrate to regsets framework
authorDave Martin <dave.martin@linaro.org>
Mon, 18 Apr 2011 13:48:23 +0000 (14:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 May 2011 20:36:55 +0000 (21:36 +0100)
commit5be6f62b0059a3344437b4c2877152c58cb3fdeb
tree30221692ca5f74e43f1534e6bf9c965cb78f3601
parent4c3b512c6b054e8c0bf14b1d61b20d4569de0a21
ARM: 6883/1: ptrace: Migrate to regsets framework

This patch migrates the implementation of the ptrace interface for
the core integer registers, legacy FPA registers and VFP registers
to use the regsets framework.

As an added bonus, all this stuff gets included in coredumps
at no extra cost.  Without this patch, coredumps contained no
VFP state.

Third-party extension register sets (iwmmx, crunch) are not migrated
by this patch, and continue to use the old implementation;
these should be migratable without much extra work.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Will Deacon <Will.Deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/elf.h
arch/arm/include/asm/ptrace.h
arch/arm/kernel/ptrace.c