This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Replace ../include/wait.h with gdb_wait.h.
- To: Mark Kettenis <kettenis at wins dot uva dot nl>
- Subject: Re: [PATCH] Replace ../include/wait.h with gdb_wait.h.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 10 Feb 2000 15:55:16 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <38A12872.13D194C4@cygnus.com> <200002091429.e19ETk916570@delius.kettenis.local>
FYI,
Mark Kettenis wrote:
> There is a problem with `linux-thread.c', where `gdb_wait.h' is included
> before config.h. This means that HAVE_SYS_WAIT_H and HAVE_WAIT_H are
> still undefined and the system headers are never used.
FYI, I've comitted just this bit. Per other e-mail, the rest will
follow.
Andrew
> +#include "defs.h"
> #include <sys/types.h> /* for pid_t */
> #include <sys/ptrace.h> /* for PT_* flags */
> #include "gdb_wait.h" /* for WUNTRACED and __WCLONE flags */
> #include <signal.h> /* for struct sigaction and NSIG */
> #include <sys/utsname.h>
>
> -#include "defs.h"
> #include "target.h"
> #include "inferior.h"
> #include "gdbcore.h"