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: gdbserver with -Werror, win64 socket type


On Fri, Aug 27, 2010 at 7:06 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Friday 27 August 2010 16:46:02, Ozkan Sezer wrote:
>> On Fri, Aug 27, 2010 at 6:34 PM, Pedro Alves <pedro@codesourcery.com> wrote:
>> > 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 '=', ',',
>> ';', '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 <winsock2.h> before the
>> gdb_fildes_t typedefinition in server.h. ?After doing this, the build reaches
>> completion without errors.
>
> Thanks, I guess we can live with that. ?I've done that change, and applied
> the patch, as below.
>

Thank you very much.

>> Of you want, I can send my full build logs,
>
> No need. ?Let 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


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