2 * linux/arch/arm/kernel/ptrace.h
4 * Copyright (C) 2000-2002 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 extern void __ptrace_cancel_bpt(struct task_struct *);
11 extern void ptrace_set_bpt(struct task_struct *);
12 extern void ptrace_break(struct task_struct *, struct pt_regs *);
15 * Clear a breakpoint, if one exists.
17 static inline int ptrace_cancel_bpt(struct task_struct *tsk)
19 int nsaved = tsk->thread.debug.nsaved;
22 __ptrace_cancel_bpt(tsk);