26 /* this struct defines the way the registers are stored on the
27 stack during a system call. */
41 #ifdef CONFIG_COLDFIRE
44 unsigned format : 4; /* frame format specifier */
46 unsigned vector : 12; /* vector offset */
53 unsigned format : 4; /* frame format specifier */
54 unsigned vector : 12; /* vector offset */
59 * This is the extended stack used by signal handlers and the context
60 * switcher: it's pushed after the normal "struct pt_regs".
72 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
73 #define PTRACE_GETREGS 12
74 #define PTRACE_SETREGS 13
75 #define PTRACE_GETFPREGS 14
76 #define PTRACE_SETFPREGS 15
78 #define PTRACE_GET_THREAD_AREA 25
80 #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
89 #define user_mode(regs) (!((regs)->sr & PS_S))
90 #define instruction_pointer(regs) ((regs)->pc)
91 #define profile_pc(regs) instruction_pointer(regs)
92 extern void show_regs(struct pt_regs *);
94 #define arch_has_single_step() (1)
97 #define arch_has_block_step() (1)
100 #endif /* __KERNEL__ */
101 #endif /* __ASSEMBLY__ */
102 #endif /* _M68K_PTRACE_H */