commit | ba55d3db9bb59a52fe45dbc5d62776adbb289e54 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Fri Feb 25 20:19:32 2011 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Feb 26 13:35:50 2011 +0000 |
tree | 0d48b0655efde424085a15f83c15ecde4603df32 | |
parent | 8f3112707fabc2f9f932a4ac1c5b92f3266e4662 [diff] |
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 <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>