From 8b20f6ceaeac307548ab6b0b5ef9c7cc7467ae65 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Feb 2001 04:46:32 +0000 Subject: Include ptrace support so debugging will hopefully work. -Erik --- libc/sysdeps/linux/common/syscalls.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux') 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 +#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 -- cgit v1.2.3