|
Linux Kernel
3.7.1
|
#include <uapi/asm/ptrace.h>Go to the source code of this file.
Macros | |
| #define | PS_S (0x2000) |
| #define | PS_M (0x1000) |
| #define | user_mode(regs) (!((regs)->sr & PS_S)) |
| #define | instruction_pointer(regs) ((regs)->pc) |
| #define | profile_pc(regs) instruction_pointer(regs) |
| #define | current_pt_regs() (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1 |
| #define | arch_has_single_step() (1) |
| #define current_pt_regs | ( | ) | (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1 |
| #define profile_pc | ( | regs | ) | instruction_pointer(regs) |
1.8.2