summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/hw_breakpoint.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-02-25 20:19:32 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-26 13:35:50 +0000
commitba55d3db9bb59a52fe45dbc5d62776adbb289e54 (patch)
tree0d48b0655efde424085a15f83c15ecde4603df32 /arch/arm/kernel/hw_breakpoint.c
parent8f3112707fabc2f9f932a4ac1c5b92f3266e4662 (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/hw_breakpoint.c')
0 files changed, 0 insertions, 0 deletions