diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2017-06-06 18:11:44 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-06-19 13:41:48 -0400 |
commit | 204a2be30a7a8a8d12642f23f3fbdc8b9923b500 (patch) | |
tree | 7c79d881f83dc301fa9aa3d51e5a573e1a292a30 /include/linux/ptrace.h | |
parent | 1072734a2c63490cdcc8f6b33bdf8d3310ea6192 (diff) |
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>
Diffstat (limited to 'include/linux/ptrace.h')
-rw-r--r-- | include/linux/ptrace.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 422bc2e4cb6a..9a2e04be0657 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
@@ -388,10 +388,6 @@ static inline void user_single_step_siginfo(struct task_struct *tsk, | |||
388 | #define current_pt_regs() task_pt_regs(current) | 388 | #define current_pt_regs() task_pt_regs(current) |
389 | #endif | 389 | #endif |
390 | 390 | ||
391 | #ifndef ptrace_signal_deliver | ||
392 | #define ptrace_signal_deliver() ((void)0) | ||
393 | #endif | ||
394 | |||
395 | /* | 391 | /* |
396 | * unlike current_pt_regs(), this one is equal to task_pt_regs(current) | 392 | * unlike current_pt_regs(), this one is equal to task_pt_regs(current) |
397 | * on *all* architectures; the only reason to have a per-arch definition | 393 | * on *all* architectures; the only reason to have a per-arch definition |