1 #ifndef _H8300_PTRACE_H
2 #define _H8300_PTRACE_H
18 /* this struct defines the way the registers are stored on the
19 stack during a system call. */
30 } __attribute__((aligned(2),packed
));
33 * This is the extended stack used by signal handlers and the context
34 * switcher: it's pushed after the normal "struct pt_regs".
43 #define PTRACE_GETREGS 12
44 #define PTRACE_SETREGS 13
51 #define user_mode(regs) (!((regs)->ccr & PS_S))
52 #define instruction_pointer(regs) ((regs)->pc)
53 extern void show_regs(struct pt_regs
*);
54 #endif /* __KERNEL__ */
55 #endif /* __ASSEMBLY__ */
56 #endif /* _H8300_PTRACE_H */