Move pathmax.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Mon, 28 Jul 2014 13:04:00 +0000 (14:04 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:42 +0000 (09:06 +0100)
This commit moves the inclusion of pathmax.h to common-defs.h and
removes all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* common/common-defs.h: Include pathmax.h.
* defs.h: Do not include pathmax.h.

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* server.h: Do not include pathmax.h.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.h

index 6e6143b..53f8494 100644 (file)
@@ -1,5 +1,10 @@
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
+       * common/common-defs.h: Include pathmax.h.
+       * defs.h: Do not include pathmax.h.
+
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
        * common/common-defs.h: Include libiberty.h.
        * defs.h: Do not include libiberty.h.
        * common/queue.h: Likewise.
index eedc318..b31b3b8 100644 (file)
@@ -33,5 +33,6 @@
 #include <stddef.h>
 #include "ansidecl.h"
 #include "libiberty.h"
+#include "pathmax.h"
 
 #endif /* COMMON_DEFS_H */
index d9775e3..189de74 100644 (file)
@@ -48,9 +48,6 @@
 
 #include <unistd.h>
 
-/* For gnulib's PATH_MAX.  */
-#include "pathmax.h"
-
 #include <fcntl.h>
 
 #include "gdb_locale.h"
index 487ada9..5c97425 100644 (file)
@@ -1,5 +1,9 @@
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
+       * server.h: Do not include pathmax.h.
+
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
        * server.h: Do not include libiberty.h.
        * linux-bfin-low.c: Likewise.
 
index 9ecd9e0..fc973c1 100644 (file)
@@ -32,9 +32,6 @@
 #endif
 #include <setjmp.h>
 
-/* For gnulib's PATH_MAX.  */
-#include "pathmax.h"
-
 #include <string.h>
 
 #ifdef HAVE_ALLOCA_H