public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: rda@sources.redhat.com
Subject: [commit] Include <syscall.h> in ptrace.c
Date: Mon, 23 Nov 2009 20:18:00 -0000	[thread overview]
Message-ID: <20091123131830.79f48c41@redhat.com> (raw)

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

                 reply	other threads:[~2009-11-23 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091123131830.79f48c41@redhat.com \
    --to=kevinb@redhat.com \
    --cc=rda@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).