This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]