This is the mail archive of the
mailing list for the GDB project.
Re: New ARI warning Wed Apr 27 01:54:55 UTC 2011
> sys/wait.h is included for macro __WALL. However, we can safely remove
> this include from common/linux-ptrace.h because either sys/wait.h or
> gdb_wait.h is included before including linux-ptrace.h in linux-nat.c
> and linux-low.c.
That's the only pragmatic answer that we have right now, but I do
think that this is an extremely bad practice. Or maybe I'm biased
by my past as an Ada developer...
Sooner or later, we'll have to move these header files to the common
area as well.