metag: ptrace: Implement NT_METAG_TLS
authorPaul Clothier <Paul.Clothier@imgtec.com>
Tue, 19 Mar 2013 12:04:43 +0000 (12:04 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Wed, 27 Mar 2013 14:37:47 +0000 (14:37 +0000)
commit876d6dcdf26a2e860801ec61195e580d03f7b204
tree33f1145d6f524c75128747c90206ea70487f3b09
parent2b8660ed3bfe95523561e6d6a6f1ce91389006b1
metag: ptrace: Implement NT_METAG_TLS

Implement functionality to get the TLS pointer for the metag
architecture using regsets.

This provides multi-threaded debug support for GDB.

Signed-off-by: Paul Clothier <Paul.Clothier@imgtec.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/kernel/ptrace.c
include/uapi/linux/elf.h