New ARI warning Wed Apr 27 01:54:55 UTC 2011
Yao Qi
yao@codesourcery.com
Wed Apr 27 03:16:00 GMT 2011
On 04/27/2011 09:54 AM, GDB Administrator wrote:
> 119a120
>> gdb/common/linux-ptrace.h:22: regression: wait.h: Do not include wait.h or sys/wait.h, instead include gdb_wait.h
> gdb/common/linux-ptrace.h:22:#include <sys/wait.h>
sys/wait.h is included for macro __WALL. However, we can safely remove
this include from common/linux-ptrace.h because either sys/wait.h or
gdb_wait.h is included before including linux-ptrace.h in linux-nat.c
and linux-low.c.
In linux-nat.c, gdb_wait.h is included in line 25, and linux-ptrace.h is
included in line 33. In linux-low.c, sys/wait.h is included in line 23,
and linux-ptrace.h is included in line 27.
Is it OK?
--
Yao (é½å°§)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_include_sys_wait.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110427/a894bdfb/attachment.bin>
More information about the Gdb-patches
mailing list