selftests/powerpc: Add ptrace tests for GPR/FPR registers
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Fri, 30 Sep 2016 02:32:52 +0000 (10:32 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Nov 2016 06:11:48 +0000 (17:11 +1100)
commitf666ad413db6f7fbfaeec6b11ed6f8e4b60dda38
tree44102ca80b9e9edc89fae71976a7f865bf62acd0
parent15ec3997aa3bffc461f7b47ca9365d4b0323c671
selftests/powerpc: Add ptrace tests for GPR/FPR registers

This patch adds ptrace interface test for GPR/FPR registers.
This adds ptrace interface based helper functions related to
GPR/FPR access and some assembly helper functions related to
GPR/FPR registers.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
[mpe: Add #defines for the new note types when headers don't define them]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/Makefile
tools/testing/selftests/powerpc/include/reg.h
tools/testing/selftests/powerpc/lib/reg.S [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/.gitignore [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/Makefile [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.h [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace.h [new file with mode: 0644]