From: Pedro Alves Date: Fri, 24 Jul 2015 13:57:19 +0000 (+0100) Subject: Move gdb_ptrace.h to nat/ X-Git-Tag: users/hjl/linux/release/2.25.51.0.4~1^2~57^2~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e379037;p=thirdparty%2Fbinutils-gdb.git 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 * gdb_ptrace.h: Move ... * nat/gdb_ptrace.h: ... here. * inf-ptrace.c: Adjust. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 22b2802ee88..0272d67eea7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-07-24 Pedro Alves + + * gdb_ptrace.h: Move ... + * nat/gdb_ptrace.h: ... here. + * inf-ptrace.c: Adjust. + 2015-07-24 Pedro Alves * acinclude.m4: Include ptrace.m4. diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index cd58dfb83ca..f3c510555ff 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 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