[PATCH][gdbserver] Check for sys/dir.h and sys.user.h in configuration.

Doug Kwan (關振德) dougkwan@google.com
Wed Jul 23 17:15:00 GMT 2008


I used the autoconf-2.59.tar.bz2 from ftp.gnu.org. I got fewer spurios
diffs than before but there still seems to be some left.  Here is an
updated patch.

-Doug

2008-07-23  Doug Kwan  <dougkwan@google.com>

        * configure.ac: Check for sys/dir.h and sys.user.h.
        * config.in configure: Regenerate.
        * linux-low.c: Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
        Include <sys/user.h> if HAVE_SYS_USER_H is defined.
        (linux_write_memory): Remove declaration of errno.



2008/7/23 Daniel Jacobowitz <drow@false.org>:
> On Wed, Jul 23, 2008 at 11:01:51AM -0300, Thiago Jung Bauermann wrote:
>> On Tue, 2008-07-22 at 20:48 -0700, Michael Snyder wrote:
>> > I'm surprised by some of the diffs in the generated configure
>> > script -- wonder if you used a different version of autoconf
>> > or something?
>>
>> When I regenerate configure in my system here I get the same spurious
>> diffs that Doug Kwan got. I'm using Debian, with autoconf package
>> version 2.59a-3.
>
> Yes.  If you want to get a clean diff, use the actual autoconf
> release - not Debian's package of it.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080723/8b885524/attachment.txt>


More information about the Gdb-patches mailing list