2 * linux/arch/arm/kernel/ptrace.h
4 * Copyright (C) 2000 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 int ptrace_set_bpt(struct task_struct *);
14 * Clear a breakpoint, if one exists.
16 static inline int ptrace_cancel_bpt(struct task_struct *tsk)
18 int nsaved = tsk->thread.debug.nsaved;
21 __ptrace_cancel_bpt(tsk);