]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Move gdb_ptrace.h to nat/
authorPedro Alves <palves@redhat.com>
Fri, 24 Jul 2015 13:57:19 +0000 (14:57 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 24 Jul 2015 14:11:18 +0000 (15:11 +0100)
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.

gdb/ChangeLog
gdb/inf-ptrace.c
gdb/nat/gdb_ptrace.h [moved from gdb/gdb_ptrace.h with 100% similarity]

index 22b2802ee889666cffe0612b49209477be622dc9..0272d67eea781eaa2d1df6883a3860256ecb59b7 100644 (file)
@@ -1,3 +1,9 @@
+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.
index cd58dfb83ca9e4d69b6ac28fa06379595c8385a0..f3c510555ff34ae229bfbbdd04044cc27ed06560 100644 (file)
@@ -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>
 
similarity index 100%
rename from gdb/gdb_ptrace.h
rename to gdb/nat/gdb_ptrace.h