~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/ptrace.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
                child->ptrace = current->ptrace;
190
190
                __ptrace_link(child, current->parent);
191
191
        }
 
192
 
 
193
#ifdef CONFIG_HAVE_HW_BREAKPOINT
 
194
        atomic_set(&child->ptrace_bp_refcnt, 1);
 
195
#endif
192
196
}
193
197
 
194
198
/**
350
354
                                unsigned long args[6], unsigned int maxargs,
351
355
                                unsigned long *sp, unsigned long *pc);
352
356
 
353
 
#endif
 
357
#ifdef CONFIG_HAVE_HW_BREAKPOINT
 
358
extern int ptrace_get_breakpoints(struct task_struct *tsk);
 
359
extern void ptrace_put_breakpoints(struct task_struct *tsk);
 
360
#else
 
361
static inline void ptrace_put_breakpoints(struct task_struct *tsk) { }
 
362
#endif /* CONFIG_HAVE_HW_BREAKPOINT */
 
363
 
 
364
#endif /* __KERNEL */
354
365
 
355
366
#endif