ptrace.h revision 3df476b28e4a9cdb43cf29fff8e89481310eb30d
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
14#include <asm/reg.h>
15#include "main.h"
16
17typedef struct {
18	int valid;
19	struct regs regs;
20	unsigned int func_arg[6];
21	unsigned int sysc_arg[6];
22} proc_archdep;
23