diff options
author | Will Deacon <will.deacon@arm.com> | 2011-02-25 14:19:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-26 08:35:50 -0500 |
commit | ba55d3db9bb59a52fe45dbc5d62776adbb289e54 (patch) | |
tree | 0d48b0655efde424085a15f83c15ecde4603df32 /arch/arm/kernel/debug.S | |
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>
Diffstat (limited to 'arch/arm/kernel/debug.S')
0 files changed, 0 insertions, 0 deletions