| Juan Cespedes | 5c3fe06 | 2004-06-14 18:08:37 +0200 | [diff] [blame] | 1 | #undef PTRACE_GETREGS |
| 2 | #undef PTRACE_SETREGS |
| 3 | #undef PTRACE_GETFPREGS |
| 4 | #undef PTRACE_SETFPREGS |
| 5 | #include <sys/ptrace.h> |
| 6 | #ifndef PTRACE_SUNDETACH |
| 7 | #define PTRACE_SUNDETACH 11 |
| 8 | #endif |
| 9 | #undef PT_DETACH |
| 10 | #undef PTRACE_DETACH |
| 11 | #define PT_DETACH PTRACE_SUNDETACH |
| 12 | #define PTRACE_DETACH PTRACE_SUNDETACH |
| 13 | |
| Juan Cespedes | 3458456 | 2009-07-25 16:10:39 +0200 | [diff] [blame] | 14 | #include <asm/ptrace.h> |
| Juan Cespedes | 5c3fe06 | 2004-06-14 18:08:37 +0200 | [diff] [blame] | 15 | |
| 16 | typedef struct { |
| 17 | int valid; |
| Juan Cespedes | 3458456 | 2009-07-25 16:10:39 +0200 | [diff] [blame] | 18 | struct pt_regs regs; |
| Juan Cespedes | 5c3fe06 | 2004-06-14 18:08:37 +0200 | [diff] [blame] | 19 | unsigned int func_arg[6]; |
| 20 | unsigned int sysc_arg[6]; |
| 21 | } proc_archdep; |