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 6e6143ba21981ca0fd406c4a20d1bdd356ab4fc3..53f8494d28fc55ce288bb6691bde00d008e6f68c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index eedc318cac668d33b9e51c2453c65469d29748db..b31b3b84261ccca86fd35540d210407fe6b943ed 100644 (file)
@@ -33,5 +33,6 @@
 #include <stddef.h>
 #include "ansidecl.h"
 #include "libiberty.h"
+#include "pathmax.h"
 
 #endif /* COMMON_DEFS_H */
index d9775e32843a644ef777be552c3b4d1d6f77eb0c..189de74c6afd96a88340ea7c06955a6fecc2bb4b 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 487ada9890a2f28ca464a9077b046d3404b7ac3b..5c97425063ce46d1c6d2f69e193d46ffb46146fd 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 9ecd9e02c9da022e2507e279bf03f8b5cbc5946e..fc973c1c13def14eda46d3e3c6490007f2e44bd8 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