This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 2/4] Move gdb_ptrace.h to nat/
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 10 Jul 2015 22:52:05 +0100
- Subject: [PATCH 2/4] Move gdb_ptrace.h to nat/
- Authentication-results: sourceware.org; auth=none
- References: <1436565127-30293-1-git-send-email-palves at redhat dot com>
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-10 Pedro Alves <palves@redhat.com>
* gdb_ptrace.h: Move ...
* nat/gdb_ptrace.h: ... here.
* inf-ptrace.c: Adjust
---
gdb/inf-ptrace.c | 2 +-
gdb/{ => nat}/gdb_ptrace.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename gdb/{ => nat}/gdb_ptrace.h (100%)
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
--
1.9.3