This is the mail archive of the
rda@sourceware.org
mailing list for the rda project.
[commit] Include <syscall.h> in ptrace.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: rda at sources dot redhat dot com
- Date: Mon, 23 Nov 2009 13:18:30 -0700
- Subject: [commit] Include <syscall.h> in ptrace.c
I've just committed the patch below. It's needed so that kill_lwp()
will be able to find SYS_tkill if it exists.
* ptrace-target.c (syscall.h): Include.
Index: ptrace-target.c
===================================================================
RCS file: /cvs/src/src/rda/unix/ptrace-target.c,v
retrieving revision 1.14
diff -u -p -r1.14 ptrace-target.c
--- ptrace-target.c 3 Oct 2006 22:49:05 -0000 1.14
+++ ptrace-target.c 23 Nov 2009 20:13:00 -0000
@@ -49,6 +49,8 @@
#include "lwp-ctrl.h"
#include "diagnostics.h"
+#include <syscall.h>
+
/* This is unix ptrace gdbserv target that uses the RDA library to implement
a remote gdbserver on a unix ptrace host. It controls the process
to be debugged on the linux host, allowing GDB to pull the strings