diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-09 04:46:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-09 04:46:32 +0000 |
commit | 8b20f6ceaeac307548ab6b0b5ef9c7cc7467ae65 (patch) | |
tree | 2b60d66c93398570682e73ef479cbd55d14399c8 /libc/sysdeps | |
parent | 7cbba5f8ce986851c4a3764ceee4cda3f3cd156f (diff) |
Include ptrace support so debugging will hopefully work.
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 4312ee535..d9ae26375 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -200,6 +200,11 @@ _syscall1(int, stime, time_t *, t); #endif //#define __NR_ptrace 26 +#include <sys/ptrace.h> +#define __NR___ptrace __NR_ptrace +_syscall4(long, __ptrace, enum __ptrace_request, request, pid_t, pid, + void*, addr, void*, data); + //#define __NR_alarm 27 #ifdef L_alarm |