mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
m68k: Remove ptrace_signal_deliver
This fixes debugger syscall restart interactions. A debugger that modifies the tracee's program counter is expected to set the orig_d0 pseudo register to -1, to disable a possible syscall restart. This removes the last user of the ptrace_signal_deliver hook in the ptrace signal handling, so remove that as well. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
1072734a2c
commit
204a2be30a
@@ -388,10 +388,6 @@ static inline void user_single_step_siginfo(struct task_struct *tsk,
|
||||
#define current_pt_regs() task_pt_regs(current)
|
||||
#endif
|
||||
|
||||
#ifndef ptrace_signal_deliver
|
||||
#define ptrace_signal_deliver() ((void)0)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* unlike current_pt_regs(), this one is equal to task_pt_regs(current)
|
||||
* on *all* architectures; the only reason to have a per-arch definition
|
||||
|
||||
Reference in New Issue
Block a user