From: Will Deacon Date: Fri, 25 Feb 2011 19:19:32 +0000 (+0100) Subject: ARM: 6767/1: ptrace: fix register indexing in GETHBPREGS request X-Git-Tag: v2.6.38-rc8~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba55d3db9bb59a52fe45dbc5d62776adbb289e54;p=pandora-kernel.git ARM: 6767/1: ptrace: fix register indexing in GETHBPREGS request The GETHBPREGS ptrace request incorrectly maps its index argument onto the thread's saved debug state when the index != 0. This has not yet been seen from userspace because GDB (the only user of this request) only reads from register 0. This patch fixes the indexing. Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed