aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-09-08 10:39:54 +0000
committerMark Kettenis <kettenis@gnu.org>2001-09-08 10:39:54 +0000
commit4ad318e604a1e84d1e3f4391bab643610b8a77bb (patch)
tree5f9797aacca7a25a875de74fd34d7e2590ceb186
parentf277788bc6f74c93227733b3063f52b2691413cc (diff)
downloadgdb-4ad318e604a1e84d1e3f4391bab643610b8a77bb.zip
gdb-4ad318e604a1e84d1e3f4391bab643610b8a77bb.tar.gz
gdb-4ad318e604a1e84d1e3f4391bab643610b8a77bb.tar.bz2
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove redundant inclusion of <unistd.h>.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/arm/xm-linux.h3
-rw-r--r--gdb/config/ia64/xm-linux.h3
-rw-r--r--gdb/config/m68k/xm-linux.h3
-rw-r--r--gdb/config/mips/xm-linux.h3
-rw-r--r--gdb/config/powerpc/xm-linux.h3
-rw-r--r--gdb/config/sparc/xm-linux.h3
7 files changed, 5 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a9f6cef..f57df7f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2001-09-08 Mark Kettenis <kettenis@gnu.org>
+ * config/arm/xm-linux.h, config/ia64/xm-linux.h,
+ config/m68k/xm-linux.h, config/mips/xm-linux.h,
+ config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
+ redundant inclusion of <unistd.h>.
+
* gdbtypes.h (struct block): Add forward declaration.
2001-09-07 Andrew Cagney <ac131313@redhat.com>
diff --git a/gdb/config/arm/xm-linux.h b/gdb/config/arm/xm-linux.h
index 272d919..e8f9e85 100644
--- a/gdb/config/arm/xm-linux.h
+++ b/gdb/config/arm/xm-linux.h
@@ -27,7 +27,4 @@
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
#endif /* XM_ARMLINUX_H */
diff --git a/gdb/config/ia64/xm-linux.h b/gdb/config/ia64/xm-linux.h
index 66ed6e2..6f6b055 100644
--- a/gdb/config/ia64/xm-linux.h
+++ b/gdb/config/ia64/xm-linux.h
@@ -27,7 +27,4 @@
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
#endif /* #ifndef XM_LINUX_H */
diff --git a/gdb/config/m68k/xm-linux.h b/gdb/config/m68k/xm-linux.h
index ebd9126..e5839b9 100644
--- a/gdb/config/m68k/xm-linux.h
+++ b/gdb/config/m68k/xm-linux.h
@@ -31,7 +31,4 @@
#define HOST_LONG_DOUBLE_FORMAT &floatformat_m68881_ext
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
#endif /* #ifndef XM_LINUX_H */
diff --git a/gdb/config/mips/xm-linux.h b/gdb/config/mips/xm-linux.h
index d28578b..d691e46 100644
--- a/gdb/config/mips/xm-linux.h
+++ b/gdb/config/mips/xm-linux.h
@@ -30,7 +30,4 @@
#endif
#endif
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
#endif /* XM_MIPSLINUX_H */
diff --git a/gdb/config/powerpc/xm-linux.h b/gdb/config/powerpc/xm-linux.h
index d7c4b02..410ece1 100644
--- a/gdb/config/powerpc/xm-linux.h
+++ b/gdb/config/powerpc/xm-linux.h
@@ -27,9 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
/* If you expect to use the mmalloc package to obtain mapped symbol files,
for now you have to specify some parameters that determine how gdb places
the mappings in it's address space. See the comments in map_to_address()
diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h
index a36738e..e45b702 100644
--- a/gdb/config/sparc/xm-linux.h
+++ b/gdb/config/sparc/xm-linux.h
@@ -30,9 +30,6 @@
#define U_REGS_OFFSET 0
-/* Need R_OK etc, but USG isn't defined. */
-#include <unistd.h>
-
/* If you expect to use the mmalloc package to obtain mapped symbol files,
for now you have to specify some parameters that determine how gdb places
the mappings in it's address space. See the comments in map_to_address()