diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 14:04:00 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:42 +0100 |
commit | a5fceff840e2928ee7a5cc34196b639d7e65016b (patch) | |
tree | 9006021ff8e9db052c526574cd085b31f89d59c0 /gdb | |
parent | b939114242762636cfdcf9a45949cb54cdaacc8c (diff) | |
download | gdb-a5fceff840e2928ee7a5cc34196b639d7e65016b.zip gdb-a5fceff840e2928ee7a5cc34196b639d7e65016b.tar.gz gdb-a5fceff840e2928ee7a5cc34196b639d7e65016b.tar.bz2 |
Move pathmax.h to common-defs.h
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/common-defs.h | 1 | ||||
-rw-r--r-- | gdb/defs.h | 3 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 3 |
5 files changed, 10 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e6143b..53f8494 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index eedc318..b31b3b8 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -33,5 +33,6 @@ #include <stddef.h> #include "ansidecl.h" #include "libiberty.h" +#include "pathmax.h" #endif /* COMMON_DEFS_H */ @@ -48,9 +48,6 @@ #include <unistd.h> -/* For gnulib's PATH_MAX. */ -#include "pathmax.h" - #include <fcntl.h> #include "gdb_locale.h" diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 487ada9..5c97425 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 9ecd9e0..fc973c1 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -32,9 +32,6 @@ #endif #include <setjmp.h> -/* For gnulib's PATH_MAX. */ -#include "pathmax.h" - #include <string.h> #ifdef HAVE_ALLOCA_H |