OSDN Git Service

2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
authormuller <muller>
Mon, 8 Oct 2007 07:43:42 +0000 (07:43 +0000)
committermuller <muller>
Mon, 8 Oct 2007 07:43:42 +0000 (07:43 +0000)
* linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>.
Makefile.in (linux-fork.o): Add gdb_wait.h dependency.

gdb/ChangeLog
gdb/Makefile.in
gdb/linux-fork.c

index 5244f54..7ed1d7d 100644 (file)
@@ -1,3 +1,9 @@
+2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>.
+       Makefile.in (linux-fork.o): Add gdb_wait.h dependency. 
+
+
 2007-10-05  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * remote.c (get_offsets): Only call free_symfile_segment_data if
index 6469244..1c068a3 100644 (file)
@@ -2236,7 +2236,7 @@ linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \
        $(objc_lang_h) $(linespec_h) $(exceptions_h) $(language_h)
 linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \
        $(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) \
-       $(linux_nat_h)
+       $(linux_nat_h) $(gdb_wait_h)
 linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \
        $(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \
        $(gdbcmd_h) $(regcache_h) $(regset_h) $(inf_ptrace_h) $(auxv_h) \
index 7141637..83d92fe 100644 (file)
@@ -26,9 +26,9 @@
 #include "gdb_string.h"
 #include "linux-fork.h"
 #include "linux-nat.h"
+#include "gdb_wait.h"
 
 #include <sys/ptrace.h>
-#include <sys/wait.h>
 #include <sys/param.h>
 #include <dirent.h>
 #include <ctype.h>