This is the mail archive of the
mailing list for the GDB project.
Re: [10/10] RFC: remove gdb_wait.h
> #ifndef __WCLONE
> #define __WCLONE 0x80000000 /* Wait for cloned process. */
> I'm not sure whether we still encounter systems without these, and
> if gdb works on them at all. Waiting for build failure reports would
> be an option.
> We could move them to say, common/linux-ptrace.h. __WALL is already there.
I normally suggest that we wait for build failure reports, but your
suggestion seems so simple that I'd just play it safe, and add it
there. Given the flag value, I'd even venture that if __WALL is
defined, I'm guessing __WCLONE should be too?