diff options
author | Anton Kolesov <Anton.Kolesov@synopsys.com> | 2014-06-20 18:28:39 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-06-26 06:44:08 +0200 |
commit | a4b6cb735b25aa84a462a1985e3e43bebaf5beb4 (patch) | |
tree | 5ff43d74e50b62fa401e79fa0cbf0715195907f5 /arch/arc/include | |
parent | ARC: optimize kernel bss clearing in early boot code (diff) | |
download | linux-a4b6cb735b25aa84a462a1985e3e43bebaf5beb4.tar.xz linux-a4b6cb735b25aa84a462a1985e3e43bebaf5beb4.zip |
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>
Diffstat (limited to 'arch/arc/include')
-rw-r--r-- | arch/arc/include/uapi/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/uapi/asm/ptrace.h b/arch/arc/include/uapi/asm/ptrace.h index 2618cc13ba75..76a7739aab1c 100644 --- a/arch/arc/include/uapi/asm/ptrace.h +++ b/arch/arc/include/uapi/asm/ptrace.h @@ -11,6 +11,7 @@ #ifndef _UAPI__ASM_ARC_PTRACE_H #define _UAPI__ASM_ARC_PTRACE_H +#define PTRACE_GET_THREAD_AREA 25 #ifndef __ASSEMBLY__ /* |