diff options
author | Pedro Alves <palves@redhat.com> | 2015-07-24 14:57:19 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-07-24 15:11:18 +0100 |
commit | e379037592ff71dc633c6d3de0828babe805ae96 (patch) | |
tree | b405b941cc53b84c12556fc03a471724f1007f5d | |
parent | eb7aa56163cc15bb732aa3b07966103fd6940d50 (diff) | |
download | gdb-e379037592ff71dc633c6d3de0828babe805ae96.zip gdb-e379037592ff71dc633c6d3de0828babe805ae96.tar.gz gdb-e379037592ff71dc633c6d3de0828babe805ae96.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/inf-ptrace.c | 2 | ||||
-rw-r--r-- | gdb/nat/gdb_ptrace.h (renamed from gdb/gdb_ptrace.h) | 0 |
3 files changed, 7 insertions, 1 deletions
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 index a969681..a969681 100644 --- a/gdb/gdb_ptrace.h +++ b/gdb/nat/gdb_ptrace.h |