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: [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


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