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

Pedro Alves
2012-11-19T15:09:12Z

On 11/17/2012 02:30 AM, Joel Brobecker wrote:
>> #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?

I don't know whether they were added at the same time or not.
Probably were, yes.

--
Pedro Alves