Re: [PATCH 11/31] Add debugger entry points for ARC

From: Vineet Gupta
Date: Mon Feb 01 2016 - 04:56:36 EST


On Friday 29 January 2016 01:16 AM, Jeffrey Merkey wrote:
> This patch series adds an export which can be set by system debuggers to
> direct the hard lockup and soft lockup detector to trigger a breakpoint
> exception and enter a debugger if one is active. It is assumed that if
> someone sets this variable, then an breakpoint handler of some sort will
> be actively loaded or registered via the notify die handler chain.
>
> This addition is extremely useful for debugging hard and soft lockups
> real time and quickly from a console debugger.
>
> Signed-off-by: Jeffrey Merkey <jeffmerkey@xxxxxxxxx>

To reduce duplication, maybe later this could be used to replace
arch_kgdb_breakpoint()

Acked-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>