This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed Apr 27 01:54:55 UTC 2011
> And suddenly even that "trivial" linux-ptrace.h diff is turning into a
> can of worms. Some people, including me, have stated that the stuff in
> common/ should *not* depend on any configure checks
Do you think that's attainable, though? There are a lot of basic types
which depend on configure... There might be some code such as gdb_select
which might be useful to gdbserver as well, one day. I'm sure we might
be able to implement some of the code without the use of configure, but
configure helps keep things cleaner.
> In this case there probably is a way out though. I don't think there
> are any systems out there that don't have <sys/wait.h>. So we could
> just get rid of gdb_wait.h altogether.
Is that because sys/wait is somehow mandated (by C90, perhaps?).
I'm wondering why we had it in the first place, it must have been
useful at some point...
--
Joel