aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/linux-ptrace.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2012-11-15 16:12:19 +0000
committerPierre Muller <muller@sourceware.org>2012-11-15 16:12:19 +0000
commit8bdce1ffdf65dc18332dfddb39482f6685cec85a (patch)
treebaf333dd105f99f14a4b4ebfca4f91e0a76eba29 /gdb/common/linux-ptrace.c
parent3a731e0fc7b80a274d4a34fed7ed41d6f35f1e51 (diff)
downloadbinutils-8bdce1ffdf65dc18332dfddb39482f6685cec85a.zip
binutils-8bdce1ffdf65dc18332dfddb39482f6685cec85a.tar.gz
binutils-8bdce1ffdf65dc18332dfddb39482f6685cec85a.tar.bz2
2012-11-15 Pierre Muller <muller@sourceware.org>
ARI fixes: move gdb_wait and gdb_stat headers to common subdirectory. * gdb_stat.h: Delete. Moved to common directory. * common/gdb_stat.h: New file. * gdb_wait.h: Delete. Moved to common directory. * common/gdb_wait.h: New file. * Makefile.in (H_FILES_NO_SRC): Adapt to new header location. * contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h location. (stat.h rule): Adapt to new gdb_stat.h location. * common/linux-osdata.c: Include "gdb_stat.h" header instead of <sys/stat.h> header. * common/linux-ptrace.c: Include "gdb_wait.h" header instead of <sys/wait.h> header. gdbserver ChangeLog entry: 2012-11-15 Pierre Muller <muller@sourceware.org> * configure.ac (AC_CHECK_HEADERS): Add wait.h header. * config.in: Regenerate. * configure: Regenerate. * linux-low.c: Use "gdb_stat.h" header instead of <sys/stat.h> header. Use "gdb_wait.h" header instead of <sys/wait.h> header. * lynx-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header. * remote-utils.c: Use "gdb_stat.h" header instead of <sys/stat.h> header. * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header instead of <sys/wait.h> header. * spu-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header.
Diffstat (limited to 'gdb/common/linux-ptrace.c')
-rw-r--r--gdb/common/linux-ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/linux-ptrace.c b/gdb/common/linux-ptrace.c
index ae17786..55ba766 100644
--- a/gdb/common/linux-ptrace.c
+++ b/gdb/common/linux-ptrace.c
@@ -27,6 +27,7 @@
#include "linux-procfs.h"
#include "buffer.h"
#include "gdb_assert.h"
+#include "gdb_wait.h"
/* Find all possible reasons we could fail to attach PID and append these
newline terminated reason strings to initialized BUFFER. '\0' termination
@@ -57,7 +58,6 @@ extern void (linux_ptrace_test_ret_to_nx_instr) (void);
#include <sys/reg.h>
#include <sys/mman.h>
#include <signal.h>
-#include <sys/wait.h>
#include <stdint.h>
#endif /* defined __i386__ || defined __x86_64__ */