| * linux/arch/h8300/kernel/ptrace_h8s.c |
| * ptrace cpu depend helper functions |
| * Yoshinori Sato <ysato@users.sourceforge.jp> |
| * This file is subject to the terms and conditions of the GNU General |
| * Public License. See the file COPYING in the main directory of |
| * this archive for more details. |
| #include <linux/linkage.h> |
| #include <linux/sched/signal.h> |
| void user_disable_single_step(struct task_struct *child) |
| exr = h8300_get_reg(child, PT_EXR); |
| h8300_put_reg(child, PT_EXR, exr); |
| void user_enable_single_step(struct task_struct *child) |
| exr = h8300_get_reg(child, PT_EXR); |
| h8300_put_reg(child, PT_EXR, exr); |
| asmlinkage void trace_trap(unsigned long bp) |
| force_sig(SIGTRAP, current); |