Re: [10/10] RFC: remove gdb_wait.h

Joel Brobecker
2012-11-17T02:30:18Z

> #ifndef __WCLONE
> #define __WCLONE 0x80000000 /* Wait for cloned process. */
> #endif
>
> 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?

--
Joel