Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/security.h>
#include <linux/signal.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/fpu.h>
#include "proto.h"
Go to the source code of this file.
Macros | |
#define | DEBUG DBG_MEM |
#define | DBG(fac, args) {if ((fac) & DEBUG) printk args;} |
#define | BREAKINST 0x00000080 /* call_pal bpt */ |
#define | PT_REG(reg) (PAGE_SIZE*2 - sizeof(struct pt_regs) + offsetof(struct pt_regs, reg)) |
#define | SW_REG(reg) |
Enumerations | |
enum | { DBG_MEM = (1<<0), DBG_BPT = (1<<1), DBG_MEM_ALL = (1<<2) } |
enum | { REG_R0 = 0, REG_F0 = 32, REG_FPCR = 63, REG_PC = 64 } |
Functions | |
int | ptrace_set_bpt (struct task_struct *child) |
int | ptrace_cancel_bpt (struct task_struct *child) |
void | user_enable_single_step (struct task_struct *child) |
void | user_disable_single_step (struct task_struct *child) |
void | ptrace_disable (struct task_struct *child) |
long | arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data) |
asmlinkage unsigned long | syscall_trace_enter (void) |
asmlinkage void | syscall_trace_leave (void) |
#define SW_REG | ( | reg | ) |
int ptrace_cancel_bpt | ( | struct task_struct * | child | ) |
void ptrace_disable | ( | struct task_struct * | child | ) |
int ptrace_set_bpt | ( | struct task_struct * | child | ) |
asmlinkage unsigned long syscall_trace_enter | ( | void | ) |
asmlinkage void syscall_trace_leave | ( | void | ) |
void user_disable_single_step | ( | struct task_struct * | child | ) |
void user_enable_single_step | ( | struct task_struct * | child | ) |