From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2214 invoked by alias); 27 Aug 2010 16:12:40 -0000 Received: (qmail 2183 invoked by uid 22791); 27 Aug 2010 16:12:38 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Aug 2010 16:12:34 +0000 Received: by ywo7 with SMTP id 7so1654758ywo.0 for ; Fri, 27 Aug 2010 09:12:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.38.16 with SMTP id q16mr1620121ybj.323.1282925552547; Fri, 27 Aug 2010 09:12:32 -0700 (PDT) Received: by 10.231.141.155 with HTTP; Fri, 27 Aug 2010 09:12:32 -0700 (PDT) In-Reply-To: <201008271706.35298.pedro@codesourcery.com> References: <201008271634.26160.pedro@codesourcery.com> <201008271706.35298.pedro@codesourcery.com> Date: Fri, 27 Aug 2010 16:12:00 -0000 Message-ID: Subject: Re: gdbserver with -Werror, win64 socket type From: Ozkan Sezer To: Pedro Alves Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00470.txt.bz2 On Fri, Aug 27, 2010 at 7:06 PM, Pedro Alves wrote: > On Friday 27 August 2010 16:46:02, Ozkan Sezer wrote: >> On Fri, Aug 27, 2010 at 6:34 PM, Pedro Alves wr= ote: >> > Note the "s/gdb/gdbserver". >> >> Speaking only for gdbserver, OK. > > Yeah, that's usual sed-like-speak for, > "if you substitute gdb for gdbserver in your statement above, ...". > Sorry for not being clear. > >> >> In file included from version.c:1: >> ../../../gdb-cvs/gdb/gdbserver/server.h:338: error: expected '=3D', ',', >> ';', 'asm' or '__attribute__' before 'gdb_fildes_t' >> ../../../gdb-cvs/gdb/gdbserver/server.h:348: error: expected ')' before = 'fd' >> ../../../gdb-cvs/gdb/gdbserver/server.h:349: error: expected ')' before = 'fd' >> ../../../gdb-cvs/gdb/gdbserver/server.h:482: error: expected ')' before = 'fd' >> >> This can be fixed by inserting an #include before the >> gdb_fildes_t typedefinition in server.h. =A0After doing this, the build = reaches >> completion without errors. > > Thanks, I guess we can live with that. =A0I've done that change, and appl= ied > the patch, as below. > Thank you very much. >> Of you want, I can send my full build logs, > > No need. =A0Let me know if something is still not right. > Things seem OK for now. Someday, gdb itself will need proper adjustments for SOCKET type, but that's for another time. Thanks again. > -- > Pedro Alves > -- Ozkan