aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-07 05:33:45 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-07 05:33:45 +0000
commitb8a92b826d922749ff9648acb5812bcd415c7eb5 (patch)
treee2979ce242a5f710c0235e3dc2562ddfbd1f262d
parent2555fe1a4feb03dd0d7c32a51eb049b6fc265aec (diff)
downloadgdb-b8a92b826d922749ff9648acb5812bcd415c7eb5.zip
gdb-b8a92b826d922749ff9648acb5812bcd415c7eb5.tar.gz
gdb-b8a92b826d922749ff9648acb5812bcd415c7eb5.tar.bz2
2003-02-07 Andrew Cagney <ac131313@redhat.com>
* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in6
-rw-r--r--gdb/hpux-thread.c2
-rw-r--r--gdb/sol-thread.c2
4 files changed, 11 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 73d3529..d5ec952 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-07 Andrew Cagney <ac131313@redhat.com>
+
+ * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
+ <sys/stat.h>.
+ * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
+
2003-02-06 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (symm-nat.o): Update dependencies.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6bbd26c..61ddec1 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1730,7 +1730,7 @@ hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
$(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
$(gdb_string_h)
hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
- $(inferior_h) $(regcache_h) $(gdbcore_h)
+ $(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h)
i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
$(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(gregset_h) \
$(i387_tdep_h) $(i386_tdep_h) $(i386_linux_tdep_h)
@@ -2126,8 +2126,8 @@ sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(shnbsd_tdep_h)
shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \
$(solib_svr4_h) $(nbsd_tdep_h) $(sh_tdep_h) $(shnbsd_tdep_h) $(osabi_h)
-sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
- $(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) $(symfile_h) \
+sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
+ $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) $(symfile_h) \
$(gregset_h)
solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \
$(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index 29dce0b..b585ca5 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -41,7 +41,7 @@
#include "inferior.h"
#include "regcache.h"
#include <fcntl.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
#include "gdbcore.h"
extern int child_suppress_run;
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 13b9580..dbff6e2 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -55,7 +55,7 @@
#include "target.h"
#include "inferior.h"
#include <fcntl.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
#include <dlfcn.h>
#include "gdbcmd.h"
#include "gdbcore.h"