From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23105 invoked by alias); 16 Apr 2010 16:27:52 -0000 Received: (qmail 23050 invoked by uid 22791); 16 Apr 2010 16:27:48 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ew0-f214.google.com (HELO mail-ew0-f214.google.com) (209.85.219.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Apr 2010 16:27:42 +0000 Received: by ewy6 with SMTP id 6so883984ewy.12 for ; Fri, 16 Apr 2010 09:27:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.31.211 with HTTP; Fri, 16 Apr 2010 09:27:39 -0700 (PDT) Date: Fri, 16 Apr 2010 16:27:00 -0000 Received: by 10.213.46.206 with SMTP id k14mr927681ebf.2.1271435260049; Fri, 16 Apr 2010 09:27:40 -0700 (PDT) Message-ID: Subject: Re: [RFC] Mingw Windows 64-bit gdbserver From: Ozkan Sezer To: pierre.muller@ics-cnrs.unistra.fr Cc: pedro@codesourcery.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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-04/txt/msg00515.txt.bz2 >> + 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