Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pt_regs |
Macros | |
#define | arch_has_single_step() (1) |
#define | EMPTY_REGS { .regs = EMPTY_UML_PT_REGS } |
#define | PT_REGS_IP(r) UPT_IP(&(r)->regs) |
#define | PT_REGS_SP(r) UPT_SP(&(r)->regs) |
#define | PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) |
#define | PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) |
#define | instruction_pointer(regs) PT_REGS_IP(regs) |
Functions | |
long | subarch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data) |
unsigned long | getreg (struct task_struct *child, int regno) |
int | putreg (struct task_struct *child, int regno, unsigned long value) |
int | arch_copy_tls (struct task_struct *new) |
void | clear_flushed_tls (struct task_struct *task) |
void | syscall_trace_enter (struct pt_regs *regs) |
void | syscall_trace_leave (struct pt_regs *regs) |
#define arch_has_single_step | ( | ) | (1) |
Definition at line 18 of file ptrace-generic.h.
#define EMPTY_REGS { .regs = EMPTY_UML_PT_REGS } |
Definition at line 20 of file ptrace-generic.h.
#define instruction_pointer | ( | regs | ) | PT_REGS_IP(regs) |
Definition at line 29 of file ptrace-generic.h.
#define PT_REGS_RESTART_SYSCALL | ( | r | ) | UPT_RESTART_SYSCALL(&(r)->regs) |
Definition at line 25 of file ptrace-generic.h.
#define PT_REGS_SYSCALL_NR | ( | r | ) | UPT_SYSCALL_NR(&(r)->regs) |
Definition at line 27 of file ptrace-generic.h.
int arch_copy_tls | ( | struct task_struct * | new | ) |
void clear_flushed_tls | ( | struct task_struct * | task | ) |
unsigned long getreg | ( | struct task_struct * | child, |
int | regno | ||
) |
Definition at line 139 of file ptrace_32.c.
int putreg | ( | struct task_struct * | child, |
int | regno, | ||
unsigned long | value | ||
) |
Definition at line 72 of file ptrace_32.c.
long subarch_ptrace | ( | struct task_struct * | child, |
long | request, | ||
unsigned long | addr, | ||
unsigned long | data | ||
) |
Definition at line 251 of file ptrace_32.c.