Re: [patch 00/11] Hardware Breakpoint interfaces

K.Prasad
2009-03-11T17:25:28Z

On Wed, Mar 11, 2009 at 12:34:43PM -0400, Alan Stern wrote:
> On Wed, 11 Mar 2009, K.Prasad wrote:
>
> > The hardware breakpoint interfaces haven't been put under any CONFIG_
> > till now, but I think we should bring them under a new config, say
> > CONFIG_HW_BREAKPOINT. It would help create a dependancy for
> > CONFIG_KSYM_TRACER too.
>
> With these patches, ptrace is dependent on hw-breakpoint. You can't
> disable CONFIG_HW_BREAKPOINT without breaking ptrace.
>
> Alan Stern
>

Agreed. We might have to retain the old code for ptrace and put the new
implementation under #ifdef CONFIG_HW_BREAKPOINT to get them working.
What do you think?

Thanks,
K.Prasad