mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ptrace: generic PTRACE_SINGLEBLOCK
This makes ptrace_request handle PTRACE_SINGLEBLOCK along with PTRACE_CONT et al. The new generic code makes use of the arch_has_block_step macro and generic entry points on machines that define them. [ mingo@elte.hu: bugfix ] Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
dc802c2d2e
commit
5b88abbf77
2 changed files with 15 additions and 2 deletions
|
@ -187,7 +187,7 @@ static inline void user_disable_single_step(struct task_struct *task)
|
|||
* supports step-until-branch for user mode. It can be a constant or it
|
||||
* can test a CPU feature bit.
|
||||
*/
|
||||
#define arch_has_single_step() (0)
|
||||
#define arch_has_block_step() (0)
|
||||
|
||||
/**
|
||||
* user_enable_block_step - step until branch in user-mode task
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue