This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Mingw Windows 64-bit gdbserver
- From: Ozkan Sezer <sezeroz at gmail dot com>
- To: pierre dot muller at ics-cnrs dot unistra dot fr
- Cc: pedro at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Fri, 16 Apr 2010 19:27:39 +0300
- Subject: Re: [RFC] Mingw Windows 64-bit gdbserver
>> + x86_64-w64-mingw*)<->srv_regobj="$srv_amd64_regobj"
It would be better if this is changed to x86_64-*-mingw*
because, although not recommended, mingw-w64 can be configured
for x86_64-pc-mingw32, too.
>> - About the used communication library:
>> -lwsock32 was not found by the mingw, but main gdb
-lwsock32 is available for win64 in recent versions of mingw-w64, but...
>> doesn't seem to use it, should we move to ws2_32 for both win32 and win64?
>
> Don't we need to make gdbserver include windows2.h instead of winsock.h too?
s/windows2.h/winsock2.h/
such change would be the logical thing to do considering gdb
itself being linked to ws2_32.
--
Ozkan