Re: [PATCH 11/31] Add debugger entry points for ARC
From: Jeff Merkey
Date: Mon Feb 01 2016 - 11:04:38 EST
On 2/1/16, Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx> wrote:
> 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>
>
You can drop this patch series, I am rethinking a better way to do this.
Jeff