]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9496afda15359cfafaa57a57b8d7866dba7307df
treef3b2f58da24d67e70fee9c9e0ef2146c12ea13c2
parent4ea6c0ceb1591066d2eb7e3357b9aefefdce4a71
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