1#ifndef __ASM_ARM_PTRACE_H 2#define __ASM_ARM_PTRACE_H 3 4#include <asm/proc/ptrace.h> 5 6#ifndef __ASSEMBLY__ 7#define pc_pointer(v) \ 8 ((v) & ~PCMASK) 9 10#define instruction_pointer(regs) \ 11 (pc_pointer((regs)->ARM_pc)) 12 13#ifdef __KERNEL__ 14#define PTRACE_GETREGS 12 15#define PTRACE_SETREGS 13 16#define PTRACE_GETFPREGS 14 17#define PTRACE_SETFPREGS 15 18 19extern void show_regs(struct pt_regs *); 20 21#define predicate(x) (x & 0xf0000000) 22#define PREDICATE_ALWAYS 0xe0000000 23 24#endif 25 26#endif /* __ASSEMBLY__ */ 27 28#endif 29 30