arm64: KGDB: Add step debugging support
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Tue, 28 Jan 2014 11:20:19 +0000 (11:20 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 15:01:46 +0000 (16:01 +0100)
commit2d694c96ec2d0d2c4d9a125ecf7c6c96d0f19a69
tree3ff0059f36ba5ef780b4681baf78da08e4360bea
parent412cfd6f06511aaf8c0ee956a39fed14d089f7e0
arm64: KGDB: Add step debugging support

Add KGDB software step debugging support for EL1 debug
in AArch64 mode.

KGDB registers step debug handler with debug monitor.
On receiving 'step' command from GDB tool, target enables
software step debugging and step address is updated in ELR.

Software Step debugging is disabled when 'continue' command
is received

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 44679a4f142b69ae0c68ed815a48bbd164827281)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/kgdb.c