From 8bdce1ffdf65dc18332dfddb39482f6685cec85a Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 15 Nov 2012 16:12:19 +0000 Subject: 2012-11-15 Pierre Muller 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 header. * common/linux-ptrace.c: Include "gdb_wait.h" header instead of header. gdbserver ChangeLog entry: 2012-11-15 Pierre Muller * configure.ac (AC_CHECK_HEADERS): Add wait.h header. * config.in: Regenerate. * configure: Regenerate. * linux-low.c: Use "gdb_stat.h" header instead of header. Use "gdb_wait.h" header instead of header. * lynx-low.c: Use "gdb_wait.h" header instead of header. * remote-utils.c: Use "gdb_stat.h" header instead of header. * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header instead of header. * spu-low.c: Use "gdb_wait.h" header instead of header. --- gdb/common/linux-osdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/common/linux-osdata.c') diff --git a/gdb/common/linux-osdata.c b/gdb/common/linux-osdata.c index 0b1c5ac..afe3e75 100644 --- a/gdb/common/linux-osdata.c +++ b/gdb/common/linux-osdata.c @@ -26,7 +26,6 @@ #include "linux-osdata.h" #include -#include #include #include #include @@ -43,6 +42,7 @@ #include "buffer.h" #include "gdb_assert.h" #include "gdb_dirent.h" +#include "gdb_stat.h" /* Define PID_T to be a fixed size that is at least as large as pid_t, so that reading pid values embedded in /proc works -- cgit v1.1