This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Move gdb_ptrace.h to nat/
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 24 Jul 2015 14:20:58 -0000
- Subject: [binutils-gdb] Move gdb_ptrace.h to nat/
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e379037592ff71dc633c6d3de0828babe805ae96
commit e379037592ff71dc633c6d3de0828babe805ae96
Author: Pedro Alves <palves@redhat.com>
Date: Fri Jul 24 14:57:19 2015 +0100
Move gdb_ptrace.h to nat/
Now that gdbserver's configure defines PTRACE_TYPE_ARGx etc., we'll be
able to make gdbserver use gdb_ptrace.h too. Move it to the native
target files directory.
gdb/ChangeLog:
2015-07-24 Pedro Alves <palves@redhat.com>
* gdb_ptrace.h: Move ...
* nat/gdb_ptrace.h: ... here.
* inf-ptrace.c: Adjust.
Diff:
---
gdb/ChangeLog | 6 ++++++
gdb/inf-ptrace.c | 2 +-
gdb/{ => nat}/gdb_ptrace.h | 0
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22b2802..0272d67 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2015-07-24 Pedro Alves <palves@redhat.com>
+ * gdb_ptrace.h: Move ...
+ * nat/gdb_ptrace.h: ... here.
+ * inf-ptrace.c: Adjust.
+
+2015-07-24 Pedro Alves <palves@redhat.com>
+
* acinclude.m4: Include ptrace.m4.
* configure.ac: Call GDB_AC_PTRACE and move ptrace checks ...
* ptrace.m4: ... to this new file.
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index cd58dfb..f3c5105 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -24,7 +24,7 @@
#include "terminal.h"
#include "gdbcore.h"
#include "regcache.h"
-#include "gdb_ptrace.h"
+#include "nat/gdb_ptrace.h"
#include "gdb_wait.h"
#include <signal.h>
diff --git a/gdb/gdb_ptrace.h b/gdb/nat/gdb_ptrace.h
similarity index 100%
rename from gdb/gdb_ptrace.h
rename to gdb/nat/gdb_ptrace.h