Re: [PATCH 20/27] ptrace: arch_has_block_step

2007-11-28 Thread Roland McGrath
> Roland McGrath wrote: > > > > > +#ifndef arch_has_block_step > > +/** > > + * arch_has_block_step - does this CPU support user-mode block-step? > > + * > > + * If this is defined, then there must be a function declaration or inline > > + * for user_enable_block_step(), and

Re: [PATCH 20/27] ptrace: arch_has_block_step

2007-11-28 Thread David Wilder
Roland McGrath wrote: +#ifndef arch_has_block_step +/** + * arch_has_block_step - does this CPU support user-mode block-step? + * + * If this is defined, then there must be a function declaration or inline + * for user_enable_block_step(), and arch_has_single_step() must be defined + * too.

Re: [PATCH 20/27] ptrace: arch_has_block_step

2007-11-28 Thread David Wilder
Roland McGrath wrote: snip +#ifndef arch_has_block_step +/** + * arch_has_block_step - does this CPU support user-mode block-step? + * + * If this is defined, then there must be a function declaration or inline + * for user_enable_block_step(), and arch_has_single_step() must be defined + *

Re: [PATCH 20/27] ptrace: arch_has_block_step

2007-11-28 Thread Roland McGrath
Roland McGrath wrote: snip +#ifndef arch_has_block_step +/** + * arch_has_block_step - does this CPU support user-mode block-step? + * + * If this is defined, then there must be a function declaration or inline + * for user_enable_block_step(), and arch_has_single_step() must be

[PATCH 20/27] ptrace: arch_has_block_step

2007-11-25 Thread Roland McGrath
This defines the new macro arch_has_block_step() in linux/ptrace.h, a default for when asm/ptrace.h does not define it. This is the analog of arch_has_single_step() for step-until-branch on machines that have it. It declares the new user_enable_block_step function, which goes with the existing

[PATCH 20/27] ptrace: arch_has_block_step

2007-11-25 Thread Roland McGrath
This defines the new macro arch_has_block_step() in linux/ptrace.h, a default for when asm/ptrace.h does not define it. This is the analog of arch_has_single_step() for step-until-branch on machines that have it. It declares the new user_enable_block_step function, which goes with the existing