ARC: Implement ptrace(PTRACE_GET_THREAD_AREA)
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Fri, 20 Jun 2014 16:28:39 +0000 (20:28 +0400)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 26 Jun 2014 04:44:08 +0000 (10:14 +0530)
commita4b6cb735b25aa84a462a1985e3e43bebaf5beb4
tree5ff43d74e50b62fa401e79fa0cbf0715195907f5
parentbef444a33004f4062930df1fc703a25dd6d7b460
ARC: Implement ptrace(PTRACE_GET_THREAD_AREA)

This patch adds implementation of GET_THREAD_AREA ptrace request type. This
is required by GDB to debug NPTL applications.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/uapi/asm/ptrace.h
arch/arc/kernel/ptrace.c