ptrace: arch_has_block_step
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:53 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:53 +0000 (13:30 +0100)
commitdc802c2d2e66e2d1544e023bfd4be6cdee48d57b
treef3b2f58da24d67e70fee9c9e0ef2146c12ea13c2
parentd9771e8c50020bb1b4ca9eca9c188874ff126aa4
ptrace: arch_has_block_step

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 user_enable_single_step and user_disable_single_step.
This is not used yet, but paves the way to harmonize on this interface
for the arch-specific calls on all machines.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/ptrace.h